Semantic Segmentation model quantization ¶
Semantic Segmentation quantization supports TensorFlow/Keras and PyTorch models. The TensorFlow workflow supports
TFlite_converter
for Keras models and
Onnx_quantizer
for Keras or ONNX models. The PyTorch workflows use
Onnx_quantizer.
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.
Semantic Segmentation YAML examples are available in the public repository:
Standard quantization: TensorFlow, PyTorch with STDC, and PyTorch with BiSeNet.
Chained services including quantization [TensorFlow]: chain_eqe, chain_eqeb, chain_qb, chain_qd, chain_tqe and chain_tqeb.
Chained services including quantization [PyTorch] [BiSeNet]: chain_eqe, chain_eqeb, chain_tqe and chain_tqeb.
Chained services including quantization [PyTorch] [STDC]: chain_eqe, chain_eqeb, chain_tqe and chain_tqeb.
User configuration: TensorFlow and PyTorch.