提交 79e136bd 编写于 作者: L LielinJiang

fix eval final steps bug

上级 d61339cc
......@@ -311,7 +311,8 @@ class ProgBarLogger(Callback):
def on_eval_end(self, logs=None):
logs = logs or {}
if self._is_print() and (self.steps is not None):
if self._is_print() and (self.eval_steps is not None):
self._updates(logs, 'eval')
print('Eval samples: %d' % (self.evaled_samples))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册