karan6181 commented on a change in pull request #14587: [MXNET-1344, 1346][FIT 
API] Retrieve Batch size and Logging verbose support for Gluon fit() API
URL: https://github.com/apache/incubator-mxnet/pull/14587#discussion_r272406919
 
 

 ##########
 File path: python/mxnet/gluon/estimator/event_handler.py
 ##########
 @@ -98,29 +104,33 @@ def train_end(self):
         pass
 
     def batch_begin(self):
-        self.batch_start = time.time()
+        if self.verbose == 2:
 
 Review comment:
   As per the discussion, I have added it as a constant so the end user can 
directly pass that as a parameter instead of number. Could you please have a 
look again? Thanks!

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to