leezu commented on a change in pull request #16922: Update LoggingHandler to 
support logging per interval
URL: https://github.com/apache/incubator-mxnet/pull/16922#discussion_r354148654
 
 

 ##########
 File path: python/mxnet/gluon/contrib/estimator/event_handler.py
 ##########
 @@ -227,33 +227,22 @@ class LoggingHandler(TrainBegin, TrainEnd, EpochBegin, 
EpochEnd, BatchBegin, Bat
 
     Parameters
     ----------
-    verbose : int, default LOG_PER_EPOCH
-        Limit the granularity of metrics displayed during training process.
-        verbose=LOG_PER_EPOCH: display metrics every epoch
-        verbose=LOG_PER_BATCH: display metrics every batch
-        verbose=LOG_PER_INTERVAL: display metrics every interval of batches
     train_metrics : list of EvalMetrics
         Training metrics to be logged, logged at batch end, epoch end, train 
end.
     val_metrics : list of EvalMetrics
         Validation metrics to be logged, logged at epoch end, train end.
-    log_interval: int, default 1
-        Logging interval during training. 1 is equivalent to LOG_PER_BATCH.
+    log_interval: int or str, default 'epoch'
 
 Review comment:
   Make this the first argument?

----------------------------------------------------------------
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