We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2711bd9 + a02ebbb commit 516f547Copy full SHA for 516f547
python/paddle/v2/model.py
@@ -49,7 +49,7 @@ def save_model(parameters, path):
49
' in environment variable.')
50
51
etcd_ip = os.environ.get(etcd_name)
52
- client = master.client("http://" + etcd_ip + ":2379", 5, 0)
+ client = paddle.v2.master.client("http://" + etcd_ip + ":2379", 5, 0)
53
r = client.request_save_model(trainer_id, 5000)
54
if r == 0:
55
# do not need to save
0 commit comments