From dad59669d0fdbc98c5955f8576528718c786d528 Mon Sep 17 00:00:00 2001 From: liuyuhui Date: Sun, 27 Sep 2020 16:22:11 +0800 Subject: [PATCH] fix bug for formatting save_step output information --- core/trainers/framework/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/trainers/framework/runner.py b/core/trainers/framework/runner.py index d3a02982..b837cd67 100644 --- a/core/trainers/framework/runner.py +++ b/core/trainers/framework/runner.py @@ -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: -- GitLab