format code

This commit is contained in:
tink2123 2020-05-19 11:32:40 +08:00
parent d9757c7ec2
commit f806d8d872
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ def train_eval_rec_run(config, exe, train_info_dict, eval_info_dict):
except fluid.core.EOFException:
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_model(train_info_dict['train_program'],save_path)
if epoch > 0 and epoch % save_epoch_step == 0: