From 126d2a2f9d1a506da10916484d26568b598ae849 Mon Sep 17 00:00:00 2001 From: xjqbest <173596896@qq.com> Date: Fri, 5 Apr 2019 22:21:59 +0800 Subject: [PATCH] fix init_worker bug test=develop --- .../fluid/incubate/fleet/parameter_server/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/paddle/fluid/incubate/fleet/parameter_server/__init__.py b/python/paddle/fluid/incubate/fleet/parameter_server/__init__.py index ba7b30251b0..9b1ec412c73 100644 --- a/python/paddle/fluid/incubate/fleet/parameter_server/__init__.py +++ b/python/paddle/fluid/incubate/fleet/parameter_server/__init__.py @@ -188,9 +188,9 @@ class Fleet(object): "you should run startup program first") sys.exit(-1) var_name_list.append(var_name) - self._fleet_ptr.init_model(scope, - int(table.table_id), - var_name_list) + self._fleet_ptr.init_model(scope, + int(table.table_id), + var_name_list) # barrier for init model done self.role_maker_._barrier_worker() else: -- GitLab