未验证 提交 f383ed74 编写于 作者: L littletomatodonkey 提交者: GitHub

Merge pull request #181 from littletomatodonkey/master

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