未验证 提交 cf347935 编写于 作者: T tangwei12 提交者: GitHub

fix load persistables for increment (#1077)

上级 8f3df7f6
......@@ -233,7 +233,7 @@ save_vars、save_params、save_persistables 以及 save_inference_model的区别
pserver_startup = t.get_startup_program(current_endpoint, pserver_prog)
exe.run(pserver_startup)
fluid.io.load_persistables(exe, path, pserver_startup)
fluid.io.load_persistables(exe, path, pserver_prog)
exe.run(pserver_prog)
if training_role == "TRAINER":
main_program = t.get_trainer_program()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册