SimpleLogger


class mySimpleLogger(log_dir, keys=None, *args, **kwargs)

Bases: pytorch_lightning.loggers.logger.Logger

property experiment
finalize(status)

Do any processing that is necessary to finalize an experiment.

Parameters

status – Status that the experiment finished with (e.g. success, failed, aborted)

property log_dir

Return directory the current version of the experiment gets saved, or None if the logger does not save data locally.

log_hyperparams(params)

Record hyperparameters.

Parameters
  • paramsNamespace or Dict containing the hyperparameters

  • args – Optional positional arguments, depends on the specific logger being used

  • kwargs – Optional keyword arguments, depends on the specific logger being used

log_metrics(metrics, step)

Records metrics. This method logs metrics as soon as it received them.

Parameters
  • metrics – Dictionary with metric names as keys and measured quantities as values

  • step – Step number at which the metrics should be recorded

property name

Return the experiment name.

save()

Save log data.

property version

Return the experiment version.