Firefly开源社区

标题: OpenDevice(1091): FATAL: Failed to open device, errno=No such file or directory [打印本页]

作者: 林飞    时间: 2022-3-30 10:45
标题: OpenDevice(1091): FATAL: Failed to open device, errno=No such file or directory
[root@RK356X:/usr/share/rknn_yolov5_demo]# ./rknn_yolov5_demo model/yolov5s.rknn  model/bus.bmp
post process config: box_conf_threshold = 0.50, nms_threshold = 0.60
Loading mode...
load_model size 8162650
librknn_runtime version 1.7.0 (0bef7b3 build: 2021-08-18 19:51:44 base: 1131)
[     1] Failed to open device: No such file or directory, Try again...
[     2] Failed to open device: No such file or directory, Try again...
[     3] Failed to open device: No such file or directory, Try again...
[     4] Failed to open device: No such file or directory, Try again...
[     5] _OpenDevice(1091): FATAL: Failed to open device, errno=No such file or directory.

在 rknn_init 时 报上面错误,请问是什么问题?

环境如下:
[root@RK356X:/usr/share/rknn_yolov5_demo]# cat /proc/version
Linux version 4.19.206 (llq@tchip14) (rk356x: c0c173e0214eeaa0d057599d2f1c6a83213483b1) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05), GNU ld (Linaro_Binutils-2017.05) 2.27.0.20161019) #364 SMP Thu Dec 2 16:12:10 CST 2021
[root@RK356X:/usr/share/rknn_yolov5_demo]# cat /etc/version
RK_MODEL=RKXXXX_RETROGAME
RK_VERSION=V1.0.0
RK_OTA_HOST=172.16.21.205:8080
[root@RK356X:/usr/share/rknn_yolov5_demo]# uname -a
Linux RK356X 4.19.206 #364 SMP Thu Dec 2 16:12:10 CST 2021 aarch64 GNU/Linux


作者: Liuth    时间: 2022-3-30 12:04
demo要和npu sdk 的版本对应,现在最新是 NPU_SDK_v1.2
阅读 demo 里面的 README 进行操作
我这边试验是没问题的
作者: 林飞    时间: 2022-3-31 12:24
编译的环境是老的,用1.1的ssd可以,里面没有yolov5的Demo

请问 NPU_SDK_v1.2 哪里有下载呢?
作者: Liuth    时间: 2022-3-31 15:00
https://www.t-firefly.com/doc/download/107.html#other_477

使用这里面 release 版的 demo 和 runtime 库文件
作者: 林飞    时间: 2022-3-31 16:26
Liuth 发表于 2022-3-31 15:00
https://www.t-firefly.com/doc/download/107.html#other_477

使用这里面 release 版的 demo 和 runtime ...

谢谢




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1