提交 925ace88 编写于 作者: Q qjing666

fix bug in submitter_demo

上级 12245d99
......@@ -18,8 +18,8 @@ print(random_port)
current_ip = socket.gethostbyname(socket.gethostname())
endpoints = "{}:{}".format(current_ip, random_port)
#start a web server for remote endpoints to download their config
#os.system("python -m SimpleHTTPServer 8080 &")
os.system("python -m http.server 8080 &")
os.system("python -m SimpleHTTPServer 8080 &")
#os.system("python -m http.server 8080 &")
if os.path.exists("job_config"):
os.system("rm -rf job_config")
if os.path.exists("package"):
......
......@@ -91,7 +91,7 @@ else:
output_folder = "fl_model"
epoch_id = 0
while not trainer.stop():
print("batch %d start train" % (step_i))
print("epoch %d start train" % (epoch_id))
step_i = 0
for data in reader():
trainer.run(feed=data, fetch=[])
......
......@@ -12,6 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
""" PaddleFL version string """
fl_version = "0.1.7"
module_proto_version = "0.1.7"
fl_version = "0.1.9"
module_proto_version = "0.1.9"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册