composer.loggers#

Modules

composer.loggers.file_logger

Logs to a file or to the terminal.

composer.loggers.in_memory_logger

Logs metrics to dictionary objects that persist in memory throughout training.

composer.loggers.logger_hparams

Logger Hyperparameter classes.

composer.loggers.registry

Logger registry.

composer.loggers.tqdm_logger

Logs metrics to a TQDM progress bar displayed in the terminal.

composer.loggers.wandb_logger

Log to Weights and Biases (https://wandb.ai/)

Logging.

In Composer, algorithms and callbacks can make calls to the Logger, which then routes the calls to the appropriate LoggerCallbacks. The LoggerCallback does the actual logging, for example to a file, or Weights and Biases.

See the LoggerCallback documentation for an example of how to define a custom logger and use it when training.

Classes

FileLogger

Logs to a file or to the terminal.

InMemoryLogger

Logs metrics to dictionary objects that persist in memory throughout training.

TQDMLogger

Logs metrics to a TQDM progress bar displayed in the terminal.

WandBLogger

Log to Weights and Biases (https://wandb.ai/)

Hparams

These classes are used with yahp for YAML-based configuration.

FileLoggerHparams

FileLogger hyperparameters.

InMemoryLoggerHparams

InMemoryLogger hyperparameters.

LoggerCallbackHparams

Base class for logger callback hyperparameters.

TQDMLoggerHparams

TQDMLogger hyperparameters.

WandBLoggerHparams

WandBLogger hyperparameters.