noggin.logger.LiveLogger.from_dict

classmethod LiveLogger.from_dict(logger_dict: Dict[str, Any])[source]

Records the state of the logger in a dictionary.

This is the inverse of to_dict()

Parameters:
logger_dict : Dict[str, Any]

The dictionary storing the state of the logger to be restored.

Returns:
noggin.LiveLogger

The restored logger.

Notes

This is a class-method, the syntax for invoking it is:

>>> LiveLogger.from_dict(logger_dict)
LiveLogger(metric_a, metric_b)
number of training batches set: 3
number of training epochs set: 1
number of testing batches set: 0
number of testing epochs set: 0