未验证 提交 9bf27322 编写于 作者: L liu zhengxi 提交者: GitHub

fix typo (#4919)

上级 c44bfba7
...@@ -201,7 +201,7 @@ def do_train(args): ...@@ -201,7 +201,7 @@ def do_train(args):
logger.info( logger.info(
"step_idx: %d, epoch: %d, batch: %d, avg loss: %f, " "step_idx: %d, epoch: %d, batch: %d, avg loss: %f, "
"normalized loss: %f, ppl: %f, avg_speed: %.2f step/s, " "normalized loss: %f, ppl: %f, avg_speed: %.2f step/s, "
"words speed: %0.2f works/s" % "words speed: %0.2f words/s" %
(step_idx, pass_id, batch_id, total_avg_cost, (step_idx, pass_id, batch_id, total_avg_cost,
total_avg_cost - loss_normalizer, total_avg_cost - loss_normalizer,
np.exp([min(total_avg_cost, 100)]), np.exp([min(total_avg_cost, 100)]),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册