# Models Tutorial

[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/openvinotoolkit/anomalib/blob/main/examples/notebooks/200_models/201_fastflow.ipynb)

## Installation Instructions

If you have not installed all required dependencies, follow the [Installation Guide](https://openvinotoolkit.github.io/anomalib/getting_started/installation/index.html).

## Notebook Contents

This notebook demonstrates how to train a FastFlow model using Anomalib API. The notebook is divided into the following sections:

- Dataset Preparation
- Torch Model Preparation
- Creating the Optimizer
- Creating the Callbacks
- Model Training and Validation
- Inference via PyTorch Lightning's `predict` method
- Visualizing the Results
