提交 c42f5762 编写于 作者: F frankwhzhang

fix esmm

上级 43740899
......@@ -24,7 +24,7 @@ dataset:
- name: dataset_infer
batch_size: 1
type: QueueDataset
data_path: "{workspace}/data/test"
data_path: "{workspace}/data/train"
data_converter: "{workspace}/esmm_reader.py"
hyper_parameters:
......@@ -36,12 +36,12 @@ hyper_parameters:
strategy: async
#use infer_runner mode and modify 'phase' below if infer
mode: [train_runner]
mode: [train_runner, infer_runner]
#mode: infer_runner
runner:
- name: train_runner
class: single_train
class: train
device: cpu
epochs: 3
save_checkpoint_interval: 2
......@@ -51,7 +51,7 @@ runner:
print_interval: 10
phases: [train]
- name: infer_runner
class: single_infer
class: infer
init_model_path: "increment/0"
device: cpu
epochs: 1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册