提交 a0ac2056 编写于 作者: C ccmeteorljh

modidy time statistics

上级 f21a5a9c
...@@ -391,7 +391,7 @@ def train(args): ...@@ -391,7 +391,7 @@ def train(args):
global_step, last_cost = train_with_feed(global_step) global_step, last_cost = train_with_feed(global_step)
train_time += time.time() - begin_time train_time += time.time() - begin_time
print("Pass {0}, pass_time_cost {1}" print("Pass {0}, pass_time_cost {1}"
.format(epoch, "%2.2f sec" % time.time() -begin_time )) .format(epoch, "%2.2f sec" % (time.time() - begin_time)))
# For internal continuous evaluation # For internal continuous evaluation
if "CE_MODE_X" in os.environ: if "CE_MODE_X" in os.environ:
print("kpis train_cost %f" % last_cost) print("kpis train_cost %f" % last_cost)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册