Release Introduction
The PTQ conversion sample release includes the model quantization sample package samples/onnx_ptq and the original models used for compilation under the model_zoo/mapper.
Model Quantization Sample Package: onnx_ptq
The OE package does not contain the calibration dataset and the original model for the sample by default, you need to execute 00_init.sh in the corresponding sample folder to get the model and calibration dataset for the current sample.
After the original model and dataset for all samples are acquired, the contents of the model conversion sample package are shown below:
Main contents in the sample package:
Common Algorithm Model Samples are those in the classification/, detection/, and segmentation/ folders.
The main goal of these algorithm model samples is to help you:
- experience the model conversion process.
- experience the accuracy evaluation of model conversion.
- experience the model conversion results.
Samples in this section will be updated from time to time to provide sample answers to frequently asked questions.
Model Release: model_zoo
The model_zoo contains two paths: mapper and runtime.
-
The
mapperpath contains the models (floating point models in ONNX or Caffe format) to be used for model conversion. -
The
runtimepath contains the hbm models that you will use for embedded runtime development.
The next section will introduce you the algorithm model samples.
