From a050825f00c523d2a8a533f6626946f886cf8052 Mon Sep 17 00:00:00 2001 From: Peng Li Date: Tue, 24 Oct 2017 19:05:10 +0800 Subject: [PATCH] fix package name bug --- python/paddle/v2/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/v2/model.py b/python/paddle/v2/model.py index 20c328209..4634db55a 100644 --- a/python/paddle/v2/model.py +++ b/python/paddle/v2/model.py @@ -49,7 +49,7 @@ def save_model(parameters, path): ' in environment variable.') 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) if r == 0: # do not need to save -- GitLab