Commit c73b1d5b authored by Anthony Larcher's avatar Anthony Larcher
Browse files

monitor display

parent 0054678b
...@@ -353,7 +353,12 @@ class TrainingMonitor(): ...@@ -353,7 +353,12 @@ class TrainingMonitor():
self.is_best = True self.is_best = True
# Initialize the logger # Initialize the logger
init_logging(level=logging.DEBUG, filename=output_file) logging.basicConfig(level=logging.DEBUG,
format='%(asctime)s %(name)-12s %(levelname)-8s %(message)s',
datefmt='%m-%d %H:%M',
self.logger = logging.getLogger('monitoring') self.logger = logging.getLogger('monitoring')
self.logger.setLevel(logging.INFO) self.logger.setLevel(logging.INFO)
# create file handler which logs even debug messages # create file handler which logs even debug messages
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment