Skip to content

Commit dad5966

Browse files
committed
fix bug for formatting save_step output information
1 parent b8ee0d6 commit dad5966

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/trainers/framework/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ def save_persistables():
420420
dirname = envs.get_global_env(name + "save_checkpoint_path", None)
421421
if dirname is None or dirname == "":
422422
return
423-
dirname = os.path.join(dirname, "epoch_" + str(epoch_id))
423+
dirname = os.path.join(dirname, str(epoch_id))
424424
logging.info("\tsave epoch_id:%d model into: \"%s\"" %
425425
(epoch_id, dirname))
426426
if is_fleet:

0 commit comments

Comments
 (0)