提交 f16c0fe4 编写于 作者: O ouyangyu

Zero after output

上级 f51c43e2
...@@ -174,6 +174,8 @@ class Metric(object): ...@@ -174,6 +174,8 @@ class Metric(object):
self.print_fn_() self.print_fn_()
for key in self.keys_:
self.kv_store_[key] = 0.0
self.acc_elapsed_time_ = 0.0 self.acc_elapsed_time_ = 0.0
self.acc_micro_batches_ = 0 self.acc_micro_batches_ = 0
self.acc_samples_ = 0 self.acc_samples_ = 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册