提交 d2be4f7a 编写于 作者: X xiexionghang

for startup base-model

上级 38175506
...@@ -198,9 +198,11 @@ int LearnerProcess::run() { ...@@ -198,9 +198,11 @@ int LearnerProcess::run() {
environment->barrier(EnvironmentRole::WORKER); environment->barrier(EnvironmentRole::WORKER);
//判断是否先dump出base TODO //判断是否先dump出base TODO
wait_save_model(epoch_id, ModelSaveWay::ModelSaveInferenceBase, _startup_dump_inference_base); if (_startup_dump_inference_base) {
environment->barrier(EnvironmentRole::WORKER); wait_save_model(epoch_id, ModelSaveWay::ModelSaveInferenceBase, _startup_dump_inference_base);
environment->barrier(EnvironmentRole::WORKER);
}
while (true) { while (true) {
epoch_accessor->next_epoch(); epoch_accessor->next_epoch();
_context_ptr->monitor_ssm.str(""); _context_ptr->monitor_ssm.str("");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册