composer.loggers#

Loggers to store metrics and artifacts.

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

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

Classes

CometMLLogger

Log to Comet.

FileLogger

Log data to a file.

InMemoryLogger

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

LogLevel

LogLevel denotes when in the training loop log messages are generated.

LoggerDestination

Base class for logger destination.

ObjectStoreLogger

Logger destination that uploads artifacts to an object store.

ProgressBarLogger

Log metrics to the console and optionally show a progress bar.

TensorboardLogger

Log to Tensorboard.

WandBLogger

Log to Weights and Biases.