未验证 提交 a46bb2e6 编写于 作者: B Bai Yifan 提交者: GitHub

Fix slim log format, test=develop (#22281)

上级 f56e0749
...@@ -220,7 +220,7 @@ class Context(object): ...@@ -220,7 +220,7 @@ class Context(object):
batch_id, eval_graph.out_nodes.keys(), result)) batch_id, eval_graph.out_nodes.keys(), result))
batch_id += 1 batch_id += 1
result = np.mean(np.array(results), axis=0) result = list(np.mean(np.array(results), axis=0))
_logger.info("Final eval result: {}={}".format( _logger.info("Final eval result: {}={}".format(
eval_graph.out_nodes.keys(), result)) eval_graph.out_nodes.keys(), result))
if not isinstance(result, Iterable): if not isinstance(result, Iterable):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册