Object detection model quantization ¶
Object detection quantization supports Keras and ONNX models. The available quantizers are
TFlite_converter
for Keras models and
Onnx_quantizer
for Keras and ONNX models.
For the shared quantization workflow follow the STM32 model quantization guide.
For advanced ONNX modes—including tensor inspection, mixed-precision quantization, calibration dataset search, and Qmn/AdaQuant—see the advanced ONNX quantization guide.
Object detection YAML examples are available in the public repository:
Standard quantization: TensorFlow, PyTorch SSD and PyTorch YoloD.
Advanced ONNX quantization: Inspection, full-auto W4/W8/A8, calibration dataset search, and Qmn/AdaQuant.
Chained services including quantization [TensorFlow]: chain_eqe, chain_eqeb, chain_qb, chain_qd, chain_tqe and chain_tqeb.
Chained services including quantization [PyTorch] [SSD]: chain_eqe, chain_eqeb, chain_tqe and chain_tqeb.
Chained services including quantization [PyTorch] [YoloD]: chain_eqe, chain_eqeb, chain_tqe and chain_tqeb.
User configuration: TensorFlow and PyTorch.