提交 126d2a2f 编写于 作者: X xjqbest

fix init_worker bug

test=develop
上级 6a57e807
...@@ -188,9 +188,9 @@ class Fleet(object): ...@@ -188,9 +188,9 @@ class Fleet(object):
"you should run startup program first") "you should run startup program first")
sys.exit(-1) sys.exit(-1)
var_name_list.append(var_name) var_name_list.append(var_name)
self._fleet_ptr.init_model(scope, self._fleet_ptr.init_model(scope,
int(table.table_id), int(table.table_id),
var_name_list) var_name_list)
# barrier for init model done # barrier for init model done
self.role_maker_._barrier_worker() self.role_maker_._barrier_worker()
else: else:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册