提交 a5a9571e 编写于 作者: Q qjing666

fix indentation bug and add install requirement

上级 bb2baa0e
......@@ -113,13 +113,13 @@ class FLCompileTimeJob(FLJobBase):
self._save_readable_program(
server_main,
"%s/server.main.program.txt" % server_folder)
self._save_str_list(self._feed_names,
self._save_str_list(self._feed_names,
"%s/feed_names" % server_folder)
self._save_str_list(self._target_names,
self._save_str_list(self._target_names,
"%s/target_names" % server_folder)
self._save_endpoints(self._server_endpoints,
self._save_endpoints(self._server_endpoints,
"%s/endpoints" % server_folder)
self._save_strategy(self._strategy,
self._save_strategy(self._strategy,
"%s/strategy.pkl" % server_folder)
for i in range(trainer_num):
......@@ -139,7 +139,7 @@ class FLCompileTimeJob(FLJobBase):
self._save_readable_program(
trainer_main,
"%s/trainer.main.program.txt" % trainer_folder)
self._save_str_list(self._feed_names,
self._save_str_list(self._feed_names,
"%s/feed_names" % trainer_folder)
self._save_str_list(self._target_names,
"%s/target_names" % trainer_folder)
......
......@@ -29,7 +29,7 @@ def python_version():
max_version, mid_version, min_version = python_version()
REQUIRED_PACKAGES = [
'six >= 1.10.0', 'protobuf >= 3.1.0','paddlepaddle >= 1.6'
'six >= 1.10.0', 'protobuf >= 3.1.0','paddlepaddle >= 1.6', 'zmq'
]
if max_version < 3:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册