未验证 提交 2e86916f 编写于 作者: C ccmeteorljh 提交者: GitHub

Merge pull request #1599 from ccmeteorljh/develop

modidy time statistics
......@@ -391,7 +391,7 @@ def train(args):
global_step, last_cost = train_with_feed(global_step)
train_time += time.time() - begin_time
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
if "CE_MODE_X" in os.environ:
print("kpis train_cost %f" % last_cost)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册