2021-05-13 23:48:51 +00:00
---
2023-08-16 12:49:13 +00:00
title: Fast.ai
2021-05-13 23:48:51 +00:00
---
2025-02-13 11:21:35 +00:00
The [fastai_with_tensorboard_example.py ](https://github.com/clearml/clearml/blob/master/examples/frameworks/fastai/legacy/fastai_with_tensorboard_example.py )
2022-03-28 09:15:48 +00:00
example demonstrates the integration of ClearML into code that uses FastAI v1 and TensorBoard.
:::note FastAI V2
2025-02-13 11:21:35 +00:00
The ClearML repository also includes [examples using FastAI v2 ](https://github.com/clearml/clearml/tree/master/examples/frameworks/fastai ).
2022-03-28 09:15:48 +00:00
:::
2021-05-13 23:48:51 +00:00
The example code does the following:
2022-02-07 19:13:36 +00:00
1. Trains a simple deep neural network on the fastai built-in MNIST dataset (see the [fast.ai ](https://fastai1.fast.ai ) documentation).
2022-03-13 13:07:06 +00:00
1. Uses the fastai `LearnerTensorboardWriter` callback, and ClearML automatically logs TensorBoard through the callback.
2025-02-06 15:31:11 +00:00
1. During script execution, creates a task named `fastai with tensorboard callback` in the `examples` project.
2021-05-13 23:48:51 +00:00
## Scalars
2022-05-22 07:27:30 +00:00
ClearML automatically logs the histogram output to TensorBoard. They appear in **PLOTS** .
2021-05-13 23:48:51 +00:00

## Plots
2022-05-22 07:27:30 +00:00
Histograms output to TensorBoard. They appear in **PLOTS** .
2021-05-13 23:48:51 +00:00

## Logs
2022-05-22 07:27:30 +00:00
Text printed to the console for training progress, as well as all other console output, appear in **CONSOLE** .
2021-05-13 23:48:51 +00:00
