Commit 96f24f3e authored by Anthony Larcher's avatar Anthony Larcher
Browse files

monitor display

parent 11c00d6e
......@@ -353,6 +353,7 @@ class TrainingMonitor():
self.is_best = True
# Initialize the logger
init_logging(level=logging.DEBUG, filename=output_file)
self.logger = logging.getLogger('monitoring')
self.logger.setLevel(logging.INFO)
# create file handler which logs even debug messages
......@@ -1328,9 +1329,6 @@ def new_xtrain(dataset_description,
best_eer=100,
compute_test_eer=training_opts["compute_test_eer"])
# Initialize the logger in file and console
#init_logging(filename=training_opts["log_file"])
# Display the entire configurations as YAML dictionnaries
logging.info(yaml.dump(dataset_opts, default_flow_style=False))
logging.info(yaml.dump(model_opts, default_flow_style=False))
......
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