未验证 提交 a5460d74 编写于 作者: Y Yu OuYang 提交者: GitHub

Merge pull request #211 from Oneflow-Inc/not_save_init_model

do not save init model
......@@ -43,7 +43,7 @@ class Snapshot(object):
print("Restoring model from {}.".format(model_load_dir))
flow.load_variables(flow.checkpoint.get(model_load_dir))
else:
flow.checkpoint.save("initial_model")
# flow.checkpoint.save("initial_model")
print("Init model on demand.")
def save(self, name):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册