diff --git a/python/mxnet/module/base_module.py b/python/mxnet/module/base_module.py index 654e41bf3656..cb8f08919d4e 100644 --- a/python/mxnet/module/base_module.py +++ b/python/mxnet/module/base_module.py @@ -532,9 +532,6 @@ def fit(self, train_data, eval_data=None, eval_metric='acc', if monitor is not None: monitor.toc_print() - if end_of_batch: - eval_name_vals = eval_metric.get_name_value() - if batch_end_callback is not None: batch_end_params = BatchEndParam(epoch=epoch, nbatch=nbatch, eval_metric=eval_metric, @@ -543,9 +540,6 @@ def fit(self, train_data, eval_data=None, eval_metric='acc', callback(batch_end_params) nbatch += 1 - # one epoch of training is finished - for name, val in eval_name_vals: - self.logger.info('Epoch[%d] Train-%s=%f', epoch, name, val) toc = time.time() self.logger.info('Epoch[%d] Time cost=%.3f', epoch, (toc-tic))