高通8550使用提提供的 SNPE相关的2.17.0.231124版本算法检测结果异常.

weixin_32297801 2024-06-14 15:34:28

高通8550按照文档方式转换的模型,放到开发板上运行检测结果异常,相同的模型在SDM845上检测正常. 只能CPU和GPU的runtime可以运行, 但是DSP的runtime没法运行.

...全文
1358 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
Mr_ReIandSan 2024-06-20
  • 打赏
  • 举报
回复

DSP 运行依赖的环境变量ADSP_LIBRARY_PATH是否设置?

hao_han_lin 2024-09-25
  • 举报
回复
@Mr_ReIandSan 怎么样设置这个环境变量I 这个是我的报错,使用c++ api,然后用c++demo执行没有问题,但是编译成so 给到java通过jni调用就有这些报错 com.tx.dms: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/rpcmem_android.c:158: rpcmem_init_internal: opened ION d evice fd 56, configured heap IDs: system (0x2000000), contig (0x10), secure (0x400), secure flags (0x80080000) 09-25 09:34:30.623 3949 3949 I com.tx.dms: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:2832: fastrpc_apps_user_init done 09-25 09:34:30.623 3949 3949 I com.tx.dms: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_config.c:136: Reading configuration file: com.tx .dms.debugconfig 09-25 09:34:30.623 3949 3949 E com.tx.dms: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/apps_std_imp.c:596:Error 0xffffffff: apps_std getenv fai led: ADSP_LIBRARY_PATH Unknown error -1 09-25 09:34:30.624 3949 3949 E com.tx.dms: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/apps_std_imp.c:596:Error 0xffffffff: apps_std getenv fai led: ADSP_LIBRARY_PATH Unknown error -1 09-25 09:34:30.624 3949 4001 I CCodec : setting up 'default' as default (vendor) store 09-25 09:34:30.624 3949 3949 E com.tx.dms: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/apps_std_imp.c:921:Error 0x2: fileExists failed for path /vendor/lib/rfsa/adsp/com.tx.dms.debugconfig, errno is No such file or directory 09-25 09:34:30.624 3949 3949 E com.tx.dms: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_config.c:57::error: 2: AEE_SUCCESS == (nErr = ap ps_std_fileExists(path, &fileExists)) 09-25 09:34:30.624 3949 3949 I com.tx.dms: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_config.c:108: Error 2: failed for /vendor/lib/rf sa/adsp/com.tx.dms.debugconfig with errno(No such file or directory) 09-25 09:34:30.624 3949 3949 E com.tx.dms: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/apps_std_imp.c:921:Error 0x2: fileExists failed for path /vendor/dsp/com.tx.dms.debugconfig, errno is No such file or directory 09-25 09:34:30.624 3949 3949 E com.tx.dms: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_config.c:57::error: 2: AEE_SUCCESS == (nErr = ap ps_std_fileExists(path, &fileExists)) 09-25 09:34:30.624 3949 3949 I com.tx.dms: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_config.c:108: Error 2: failed for /vendor/dsp/co m.tx.dms.debugconfig with errno(No such file or directory)
weixin_38498942 2024-06-17
  • 打赏
  • 举报
回复

你好, 对于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下运行的.

4,652

社区成员

发帖
与我相关
我的任务
社区描述
本论坛以AI、WoS 、XR、IoT、Auto、生成式AI等核心板块组成,为开发者提供便捷及高效的学习和交流平台。 高通开发者专区主页:https://qualcomm.csdn.net/
人工智能物联网机器学习 技术论坛(原bbs) 北京·东城区
社区管理员
  • csdnsqst0050
  • chipseeker
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧