xnn.common.train.loggers.ConsoleLogger#

class xnn.common.train.loggers.ConsoleLogger(errors=True)[source]#

Bases: Logger

Prints the epoch summary, the test loss and any step values to stdout.

Parameters:

errors (bool, optional) – Also print the error metrics (MAE / RMSE) of the validation set, or of the training set without one, on a second line. Defaults to True.

log_metrics(metrics, step)[source]#

Print metrics in the trainer’s line format (see Logger).

Parameters:
Return type:

None