Download Public Models#

This page provides instructions on how to use the samples/download_public_models.sh script to download the following models:

The script downloads the models from their respective sources, handles the necessary conversions, and places the model files in a directory which you need to specify in the MODELS_PATH environment variable:

export MODELS_PATH=/path/to/models

You can refer to the list of supported models.

For example, to download the YOLOv11s model, use:

./samples/download_public_models.sh yolo11s

Quantization#

You can perform INT8 quantization on some of the models by specifying a second parameter with a dataset to be used for the quantization process.

./samples/download_public_models.sh yolo11s coco128

Currently available datasets are coco and coco128.

NOTE: coco is a very large dataset of over 20GB and containing more than a 100,000 images. Quantization on this dataset can take a very long time. For development purposes, it is recommended to use coco128 instead, which is much lighter.

Below are models which currently support quantization:

  • YOLOv5: nu, su, mu, lu, xu, n6u, s6u, m6u, l6u, x6u

  • YOLOv8: n, s, m, l, x

  • YOLOV9: t, s, m, c, e

  • YOLOv10: n, s, m, b, l, x

  • YOLOv11: n, s, m, l, x