The fastai_with_tensorboard_example.py example demonstrates the integration of ClearML into code that uses FastAI v1 and TensorBoard.
The ClearML repository also includes examples using FastAI v2.
The example code does the following:
- Trains a simple deep neural network on the fastai built-in MNIST dataset (see the fast.ai documentation).
- Uses the fastai
LearnerTensorboardWritercallback, and ClearML automatically logs TensorBoard through the callback.
- During script execution, creates an experiment named
fastai with tensorboard callbackin the
ClearML automatically logs the histogram output to TensorBoard. They appear in PLOTS.
Histograms output to TensorBoard. They appear in PLOTS.
Text printed to the console for training progress, as well as all other console output, appear in CONSOLE.