nswamy 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_r272664947
##########
File path: python/mxnet/gluon/estimator/event_handler.py
##########
@@ -85,14 +85,26 @@ class LoggingHandler(EventHandler):
file name to save the logs
file_location: str
file location to save the logs
+ verbose: int, default ONLY_EPOCH
+ Limit the granularity of metrics displayed during training process
+ verbose=ONLY_EPOCH: display metrics every epoch
+ verbose=BATCH_WITH_EPOCH: display metrics every batch and epoch
"""
- def __init__(self, file_name=None, file_location=None):
+ ONLY_EPOCH = 1
Review comment:
nit: rename
LOG_PER_EPOCH
LOG_PER_BATCH
----------------------------------------------------------------
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