提交 d09032d4 编写于 作者: littletomatodonkey's avatar littletomatodonkey

fix save model name

上级 232b7429
...@@ -134,8 +134,7 @@ def main(args): ...@@ -134,8 +134,7 @@ def main(args):
model_path = os.path.join(config.model_save_dir, model_path = os.path.join(config.model_save_dir,
config.ARCHITECTURE["name"]) config.ARCHITECTURE["name"])
save_model(train_prog, model_path, save_model(train_prog, model_path, "best_model")
"best_model_in_epoch_" + str(epoch_id))
# 3. save the persistable model # 3. save the persistable model
if epoch_id % config.save_interval == 0: if epoch_id % config.save_interval == 0:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册