提交 dad59669 编写于 作者: L liuyuhui

fix bug for formatting save_step output information

上级 b8ee0d6a
......@@ -420,7 +420,7 @@ class RunnerBase(object):
dirname = envs.get_global_env(name + "save_checkpoint_path", None)
if dirname is None or dirname == "":
return
dirname = os.path.join(dirname, "epoch_" + str(epoch_id))
dirname = os.path.join(dirname, str(epoch_id))
logging.info("\tsave epoch_id:%d model into: \"%s\"" %
(epoch_id, dirname))
if is_fleet:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册