2021-05-13 23:48:51 +00:00
---
2021-12-27 08:41:43 +00:00
title: FastAI
2023-06-22 13:08:26 +00:00
displayed_sidebar: mainSidebar
2021-05-13 23:48:51 +00:00
---
2022-03-28 09:15:48 +00:00
The [fastai_with_tensorboard_example.py ](https://github.com/allegroai/clearml/blob/master/examples/frameworks/fastai/legacy/fastai_with_tensorboard_example.py )
example demonstrates the integration of ClearML into code that uses FastAI v1 and TensorBoard.
:::note FastAI V2
The ClearML repository also includes [examples using FastAI v2 ](https://github.com/allegroai/clearml/tree/master/examples/frameworks/fastai ).
:::
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.
2021-05-13 23:48:51 +00:00
1. During script execution, creates an experiment named `fastai with tensorboard callback` , which is associated with the `examples` project.
## 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
