nip.stat_logger.StatLogger

nip.stat_logger.StatLogger#

class nip.stat_logger.StatLogger[source]#

Base class for logging statistics during training.

Methods Summary

log(to_log[, step])

Log some statistics.

Methods

abstract log(to_log: dict, step: int | None = None)[source]#

Log some statistics.

Parameters:
  • to_log (dict) – The statistics to log.

  • step (int, optional) – The step at which the statistics are to be logged.