You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/03/19 00:01:20 UTC

[GitHub] [incubator-mxnet] piyushghai commented on a change in pull request #14464: Fixed issue where the estimator was printing beyond the dataset size …

piyushghai commented on a change in pull request #14464: Fixed issue where the estimator was printing beyond the dataset size …
URL: https://github.com/apache/incubator-mxnet/pull/14464#discussion_r266687216
 
 

 ##########
 File path: python/mxnet/gluon/estimator/estimator.py
 ##########
 @@ -242,7 +242,9 @@ def fit(self, train_data,
                     self.train_stats['batch_' + loss_metric.name] = loss_metric.get()[1]
 
                 try:
-                    self.train_stats['step'] = "{}/{}".format(batch_size * (i + 1), len(train_data._dataset))
+                    completed_samples = len(train_data._dataset) if i == len(train_data._dataset) - 1 \
 
 Review comment:
   Done. 568d5dfaa260a8e3c07bc36c53ae334fc7c64743

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services