提交 c42f5762 编写于 作者: F frankwhzhang

fix esmm

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