Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
PaddleRec
提交
6785af02
P
PaddleRec
项目概览
BaiXuePrincess
/
PaddleRec
与 Fork 源项目一致
Fork自
PaddlePaddle / PaddleRec
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleRec
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
6785af02
编写于
5月 06, 2020
作者:
C
chengmo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix
上级
2f1f76f3
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
0 addition
and
10 deletion
+0
-10
fleet_rec/core/trainers/single_trainer.py
fleet_rec/core/trainers/single_trainer.py
+0
-7
fleet_rec/run.py
fleet_rec/run.py
+0
-3
未找到文件。
fleet_rec/core/trainers/single_trainer.py
浏览文件 @
6785af02
...
@@ -62,9 +62,6 @@ class SingleTrainer(TranspileTrainer):
...
@@ -62,9 +62,6 @@ class SingleTrainer(TranspileTrainer):
context
[
'status'
]
=
'train_pass'
context
[
'status'
]
=
'train_pass'
def
dataloader_train
(
self
,
context
):
def
dataloader_train
(
self
,
context
):
self
.
model
.
custom_preprocess
()
reader
=
self
.
_get_dataloader
()
reader
=
self
.
_get_dataloader
()
epochs
=
envs
.
get_global_env
(
"train.epochs"
)
epochs
=
envs
.
get_global_env
(
"train.epochs"
)
...
@@ -105,10 +102,6 @@ class SingleTrainer(TranspileTrainer):
...
@@ -105,10 +102,6 @@ class SingleTrainer(TranspileTrainer):
context
[
'status'
]
=
'infer_pass'
context
[
'status'
]
=
'infer_pass'
def
dataset_train
(
self
,
context
):
def
dataset_train
(
self
,
context
):
# run startup program at once
self
.
_exe
.
run
(
fluid
.
default_startup_program
())
self
.
model
.
custom_preprocess
()
dataset
=
self
.
_get_dataset
()
dataset
=
self
.
_get_dataset
()
epochs
=
envs
.
get_global_env
(
"train.epochs"
)
epochs
=
envs
.
get_global_env
(
"train.epochs"
)
...
...
fleet_rec/run.py
浏览文件 @
6785af02
...
@@ -18,9 +18,6 @@ def engine_registry():
...
@@ -18,9 +18,6 @@ def engine_registry():
cpu
[
"TRANSPILER"
][
"SINGLE"
]
=
single_engine
cpu
[
"TRANSPILER"
][
"SINGLE"
]
=
single_engine
cpu
[
"TRANSPILER"
][
"LOCAL_CLUSTER"
]
=
local_cluster_engine
cpu
[
"TRANSPILER"
][
"LOCAL_CLUSTER"
]
=
local_cluster_engine
cpu
[
"TRANSPILER"
][
"CLUSTER"
]
=
cluster_engine
cpu
[
"TRANSPILER"
][
"CLUSTER"
]
=
cluster_engine
cpu
[
"TRANSPILER"
][
"TDM_SINGLE"
]
=
tdm_single_engine
cpu
[
"TRANSPILER"
][
"TDM_LOCAL_CLUSTER"
]
=
tdm_local_cluster_engine
cpu
[
"TRANSPILER"
][
"TDM_CLUSTER"
]
=
tdm_cluster_engine
cpu
[
"PSLIB"
][
"SINGLE"
]
=
local_mpi_engine
cpu
[
"PSLIB"
][
"SINGLE"
]
=
local_mpi_engine
cpu
[
"PSLIB"
][
"LOCAL_CLUSTER"
]
=
local_mpi_engine
cpu
[
"PSLIB"
][
"LOCAL_CLUSTER"
]
=
local_mpi_engine
cpu
[
"PSLIB"
][
"CLUSTER"
]
=
cluster_mpi_engine
cpu
[
"PSLIB"
][
"CLUSTER"
]
=
cluster_mpi_engine
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录