|
【技术讨论】
ROC-RK3588S-PC_Ubuntu20.04-Minimal运行rknpu2示例代码NUP报错
发表于 2022-7-9 21:11:39
浏览:6542
|
回复:4
打印
只看该作者
[复制链接]
楼主
问题描述及复现步骤:
运行rknpu2示例代码报错,镜像是ROC-RK3588S-PC_Ubuntu20.04-Minimal-r21164_v1.0.0c_220621.7z,报错内容如下:
- firefly@firefly:~/work/rk/tools/rknpu2/examples/rknn_yolov5_demo/build/build_linux_aarch64$ ./rknn_yolov5_demo ../../model/RK3588/yolov5s-640-640.rknn ../../model/bus.jpg
- post process config: box_conf_threshold = 0.50, nms_threshold = 0.60
- Read ../../model/bus.jpg ...
- img width = 640, img height = 640
- Loading mode...
- E RKNN: [12:50:17.266] failed to open rknpu module, need to insmod rknpu dirver!
- E RKNN: [12:50:17.266] failed to open rknn device!
- rknn_init error ret=-1
复制代码 然后打印dmesg | grep rknpu,日志如下:
- firefly@firefly:~/work/rk/tools/rknpu2/examples/rknn_yolov5_demo/build/build_linux_aarch64$ dmesg | grep rknpu
- [ 5.764123] RKNPU fdab0000.npu: RKNPU: rknpu iommu is enabled, using iommu mode
- [ 5.764265] RKNPU fdab0000.npu: Looking up rknpu-supply from device tree
- [ 5.765306] [drm] Initialized rknpu 0.7.2 20220428 for fdab0000.npu on minor 1
- [ 5.766042] RKNPU fdab0000.npu: Looking up rknpu-supply from device tree
- [ 5.766978] RKNPU fdab0000.npu: Looking up rknpu-supply from device tree
- firefly@firefly:~/work/rk/tools/rknpu2/examples/rknn_yolov5_demo/build/build_linux_aarch64$
复制代码 求助
|
-
-
log.txt
78.88 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1
|