Skip to main content
This documentation is for fastai v1. If you use the current version of fastai, see the fastai page.
For fastai v1 scripts, W&B provides a callback that automatically logs model topology, losses, metrics, weights, gradients, sample predictions, and the best trained model.
You can configure what data to log through the callback constructor.
You can also use WandbCallback only when starting training. In this case, you must instantiate it.
You can also pass custom parameters at that stage.

Example code

The following examples show how the integration works:

Options

The WandbCallback() class supports several options: