Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Remove Epoch training metric log
Browse files Browse the repository at this point in the history
  • Loading branch information
vandanavk committed Aug 14, 2018
1 parent 525ead9 commit a5088be
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions python/mxnet/module/base_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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))

Expand Down

0 comments on commit a5088be

Please sign in to comment.