我们正在使用骁龙神经处理引擎和 QNN, 正在尝试验证我们的 ML 模型是否在此处理器上运行。我们使用 QCS8550 LE  并收到以下错误:

weixin_32291731 2024-08-30 17:49:56

我们正在使用骁龙神经处理引擎和 QNN, 正在尝试验证我们的 ML 模型是否在此处理器上运行。我们使用 QCS8550 LE  并收到以下错误:
root@kalama:~# snpe-throughput-net-run --verbose --container detection.dlc --duration 60 --perf_profile balanced --use_gpu
Before SNPE setup, allocated native heap is 1708448
Before SNPE setup, allocated mmap region(s) is 532480
The selected runtime gpu_float32_16_hybrid is not available on this platform. Continue anyway to observe the failure at network creation time.
[Instance 0 - gpu_float32_16_hybrid] Unable to successfully create SNPE instance. Will continue to creation of other SNPE instance(s).container=detection.dlc; perf_profile=balanced; error_code=1002; error_message=Layer parameter value is invalid. No backend could validate Op=input.nhwc Type=Transpose error code=3110; error_component=Model Validation; line_no=131; thread_id=548616069152
Error: Requested 1 instances of SNPE, Could not create any.. Exiting.

root@kalama:~# snpe-throughput-net-run --verbose --container detection.dlc --duration 60 --perf_profile balanced --use_cpu
Before SNPE setup, allocated native heap is 1708448
Before SNPE setup, allocated mmap region(s) is 532480
The selected runtime cpu_float32 is not available on this platform. Continue anyway to observe the failure at network creation time.
[Instance 0 - cpu_float32] Unable to successfully create SNPE instance. Will continue to creation of other SNPE instance(s).container=detection.dlc; perf_profile=balanced; error_code=1002; error_message=Layer parameter value is invalid. No backend could validate Op=input.nhwc Type=Transpose error code=3110; error_component=Model Validation; line_no=131; thread_id=547621818400
Error: Requested 1 instances of SNPE, Could not create any.. Exiting.

root@kalama:~# snpe-throughput-net-run --verbose --container detection.dlc --duration 60 --perf_profile balanced --use_dsp
Before SNPE setup, allocated native heap is 1708448
Before SNPE setup, allocated mmap region(s) is 532480
The selected runtime dsp_fixed8_tf is not available on this platform. Continue anyway to observe the failure at network creation time.
[Instance 0 - dsp_fixed8_tf] Unable to successfully create SNPE instance. Will continue to creation of other SNPE instance(s).container=detection.dlc; perf_profile=balanced; error_code=1002; error_message=Layer parameter value is invalid. No backend could validate Op=input.nhwc Type=Transpose error code=3110; error_component=Model Validation; line_no=131; thread_id=548176212000
Error: Requested 1 instances of SNPE, Could not create any.. Exiting.
root@kalama:~#@

...全文
1100 1 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
weixin_38498942 2024-09-02
  • 打赏
  • 举报
回复

从错误消息来看,您似乎有一个将输入转置为 NHWC 格式的转置层,并且任何运行时都不支持此层。这很奇怪,因为转置操作应该受 SNPE支持。此外,奇怪的是您的设备上没有任何运行时可用。在 CQS8550 LE 1.0 基线上应该同时具有 CPU 和 DSP 运行时,由于已知问题,只有GPU 运行时现在无法正常工作。您是否在设备上正确设置了 SNPE 环境?

例如将对应的snpe的库, dsp的库放到 /usr/lib 和/usr/lib/rfsa/adsp/ 下, 然后再尝试 用 snpe-platform-validator 工具验证您的环境,这样应该能够正常的运行DSP.

2,851

社区成员

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

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