Skip to content

Commit 516f547

Browse files
authored
Merge pull request #5064 from pengli09/fix-import-bug
fix package name bug
2 parents 2711bd9 + a02ebbb commit 516f547

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/paddle/v2/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def save_model(parameters, path):
4949
' in environment variable.')
5050

5151
etcd_ip = os.environ.get(etcd_name)
52-
client = master.client("http://" + etcd_ip + ":2379", 5, 0)
52+
client = paddle.v2.master.client("http://" + etcd_ip + ":2379", 5, 0)
5353
r = client.request_save_model(trainer_id, 5000)
5454
if r == 0:
5555
# do not need to save

0 commit comments

Comments
 (0)