提交 01cd69df 编写于 作者: X xzl

Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix_merge_model

...@@ -49,7 +49,7 @@ def save_model(parameters, path): ...@@ -49,7 +49,7 @@ def save_model(parameters, path):
' in environment variable.') ' in environment variable.')
etcd_ip = os.environ.get(etcd_name) etcd_ip = os.environ.get(etcd_name)
client = master.client("http://" + etcd_ip + ":2379", 5, 0) client = paddle.v2.master.client("http://" + etcd_ip + ":2379", 5, 0)
r = client.request_save_model(trainer_id, 5000) r = client.request_save_model(trainer_id, 5000)
if r == 0: if r == 0:
# do not need to save # do not need to save
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册