提交 d148974e 编写于 作者: H heya02

update

上级 2c88ac15
...@@ -75,7 +75,6 @@ while not trainer.stop(): ...@@ -75,7 +75,6 @@ while not trainer.stop():
epoch_id += 1 epoch_id += 1
if epoch_id > 10: if epoch_id > 10:
break break
#print("epoch %d start train" % (epoch_id))
print("{} Epoch {} start train".format(time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(time.time())), epoch_id)) print("{} Epoch {} start train".format(time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(time.time())), epoch_id))
for step_id, data in enumerate(train_reader()): for step_id, data in enumerate(train_reader()):
acc = trainer.run(feeder.feed(data), fetch=["accuracy_0.tmp_0"]) acc = trainer.run(feeder.feed(data), fetch=["accuracy_0.tmp_0"])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册