3,290
社区成员




高通8550按照文档方式转换的模型,放到开发板上运行检测结果异常,相同的模型在SDM845上检测正常. 只能CPU和GPU的runtime可以运行, 但是DSP的runtime没法运行.
DSP 运行依赖的环境变量ADSP_LIBRARY_PATH是否设置?
你好, 对于SNPE2中的dsp的使用, 我们需要按照这个方法进行操作:
1, 将对应的onnx转换dlc文件
snpe-onnx-to-dlc --input_network test.onnx
2, 对dlc文件进行对应的量化
snpe-dlc-quant --input_dlc test.dlc --input_list input.txt
3, 对量化后的模型进行prepare, 选择8550的平台.
snpe-dlc-graph-prepare --input_dlc test_quantized.dlc --set_output_tensors bbox_cls_1,bbox_cls_2,bbox_cls_3,bbox_reg_1,bbox_reg_2,bbox_reg_3 --input_list input.txt --htp_socs sm8550
最后得到模型就是可以在dsp下运行的.