A Standard Model Conversion Test

Download the Model
You can download the model recommended by the official SNPE documentation for conversion testing.
mkdir models && cd models
wget https://media.githubusercontent.com/media/onnx/models/refs/heads/main/Computer_Vision/inception_v3_Opset16_timm/inception_v3_Opset16.onnx
Download the model first
Start Conversion
## Set environment variables
export SNPE_ROOT=/opt/qcom/aistack/qairt/2.22.6.240515/
## Import environment
source ${SNPE_ROOT}/bin/envsetup.sh
## Activate the snpe virtual environment
source snpe/bin/activate
Setting up environment and conversion commands
Run the following command to generate the inception_v3.dlc model:
${SNPE_ROOT}/bin/x86_64-linux-clang/snpe-onnx-to-dlc --input_network ~/models/inception_v3_Opset16.onnx --output_path ~/models/inception_v3_Opset16.dlc --input_dim 'x' 1,3,299,299
Conversion successful


