提交 04ee8e93 编写于 作者: S ShawnXuan

do not save init model

上级 4b149db0
......@@ -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.
先完成此消息的编辑!
想要评论请 注册