"doc/git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "5488aaedb3830bb458ca55557f2994ec8a8ab263"
Commit f806d8d8 authored by tink2123's avatar tink2123
Browse files

format code

parent d9757c7e
...@@ -348,7 +348,7 @@ def train_eval_rec_run(config, exe, train_info_dict, eval_info_dict): ...@@ -348,7 +348,7 @@ def train_eval_rec_run(config, exe, train_info_dict, eval_info_dict):
except fluid.core.EOFException: except fluid.core.EOFException:
train_loader.reset() train_loader.reset()
if epoch ==0 and save_epoch_step == 1: if epoch == 0 and save_epoch_step == 1:
save_path = save_model_dir + "/iter_epoch_0" save_path = save_model_dir + "/iter_epoch_0"
save_model(train_info_dict['train_program'],save_path) save_model(train_info_dict['train_program'],save_path)
if epoch > 0 and epoch % save_epoch_step == 0: if epoch > 0 and epoch % save_epoch_step == 0:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment