This tutorial demonstrates how to apply INT8
quantization to the MobileNet V2 Image Classification model, using the
NNCF Post-Training Quantization API. The tutorial uses MobileNetV2 and Cifar10 dataset.
The code of the tutorial is designed to be extendable to custom models and datasets.
The tutorial consists of the following steps:
- Prepare the model for quantization.
- Define a data loading functionality.
- Perform quantization.
- Compare accuracy of the original and quantized models.
- Compare performance of the original and quantized models.
- Compare results on one picture.
If you have not installed all required dependencies, follow the Installation Guide.