I would like to run YOLOv8 on DSP using SNPE. I have already converted the .pth model to ONNX and performed DLC quantization with the following command.
Layer parameter value is invalid. No backend could validate Op=NonMaxSuppression
Posted: Thu, 2024-06-06 05:35
my snpe version is SNPE v2.23.0.240531124219_94801
```
snpe-dlc-quantize \
--input_dlc ${output_dir}/${dataset}/${config}/ONNX-DLC/${model}.dlc \
--input_list ${output_dir}/${dataset}/${config}/ONNX-DLC/SNPE_RAWS/raw_list.txt \
--use_enhanced_quantizer \
--use_adjusted_weights_quantizer \
--axis_quant \
--output_dlc ${output_dir}/${dataset}/${config}/ONNX-DLC/quant_${model}.dlc \
--enable_htp
```
However, when I attempt to run it on the DSP, I encounter an error, whereas it operates normally on the CPU.
`snpe-net-run --container quant_${model}.dlc --input_list rel_raw_list.txt --use_dsp --output_dir output_htp`
this is the error:
`error_code=1002; error_message=Layer parameter value is invalid. No backend could validate Op=NonMaxSuppression_318 Type=NonMaxSuppression error code=3110; error_component=Model Validation; line_no=142; thread_id=488582993144`