提交 d0491f41 编写于 作者: B Bai Yifan 提交者: whs

fix log format, test=develop (#22297)

上级 da24e423
...@@ -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.
先完成此消息的编辑!
想要评论请 注册