Skip to main content
Composer is a library for training neural networks better, faster, and cheaper. It contains many state-of-the-art methods for accelerating neural network training and improving generalization, along with an optional Trainer API that makes composing many different enhancements easy. W&B provides a lightweight wrapper for logging your ML experiments. But you don’t need to combine the two yourself: W&B is incorporated directly into the Composer library via the WandBLogger.

Start logging to W&B

Interactive dashboards

Use Composer’s WandBLogger

The Composer library uses WandBLogger class in the Trainer to log metrics to W&B. It is as simple as instantiating the logger and passing it to the Trainer.

Logger arguments

Below the parameters for WandbLogger, see the Composer documentation for a full list and description. A typical usage would be:

Log prediction samples

You can use Composer’s Callbacks system to control when you log to W&B via the WandBLogger, in this example a sample of the validation images and predictions is logged: