This documentation is for fastai v1.
If you use the current version of fastai, you should refer to fastai page.
Example Code
We’ve created a few examples for you to see how the integration works: Fastai v1- Classify Simpsons characters: A simple demo to track and compare Fastai models
- Semantic Segmentation with Fastai: Optimize neural networks on self-driving cars
Options
WandbCallback() class supports a number of options:
| Keyword argument | Default | Description | 
|---|---|---|
| learn | N/A | the fast.ai learner to hook. | 
| save_model | True | save the model if it’s improved at each step. It will also load best model at the end of training. | 
| mode | auto | min,max, orauto: How to compare the training metric specified inmonitorbetween steps. | 
| monitor | None | training metric used to measure performance for saving the best model. None defaults to validation loss. | 
| log | gradients | gradients,parameters,all, or None. Losses & metrics are always logged. | 
| input_type | None | imagesorNone. Used to display sample predictions. | 
| validation_data | None | data used for sample predictions if input_typeis set. | 
| predictions | 36 | number of predictions to make if input_typeis set andvalidation_dataisNone. | 
| seed | 12345 | initialize random generator for sample predictions if input_typeis set andvalidation_dataisNone. |