diff --git a/hapi/callbacks.py b/hapi/callbacks.py index f7bb878578d1e90a4dffbb40e4ff0a2ee0321d7b..c13fd431dc3327d90d89f71612523e4b5ce1ba0a 100644 --- a/hapi/callbacks.py +++ b/hapi/callbacks.py @@ -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))