cmdrun 发表于 2020-9-27 14:46:47

Failed to open device: No such file or directory, Try again...

firefly@firefly:~/linux/external/rknpu/rknn/examples/rknn_yolo_demo/build$ ./rknn_yolo_demo ../model/yolov3.rknn ../model/dog.jpg
resize 768 576 to 416 416
[   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(1183): FATAL: Failed to open device, errno=No such file or directory.
请问上面是什么问题啊

cmdrun 发表于 2020-9-27 14:48:48

firefly@firefly:~/linux/external/rknpu/rknn/examples/rknn_yolo_demo$ uname -a
Linux firefly 4.4.194 #452 SMP Sat May 23 17:21:27 CST 2020 aarch64 aarch64 aarch64 GNU/Linux
firefly@firefly:~/linux/external/rknpu/rknn/examples/rknn_yolo_demo$ dpkg -l | grep firefly-3399pronpu-driver
iifirefly-3399pronpu-driver            1.3.1                                  arm64      <insert up to 60 chars description>
firefly@firefly:~/linux/external/rknpu/rknn/examples/rknn_yolo_demo$
这是我板上的一些环境配置

新记忆而 发表于 2020-9-28 09:32:39

建议看一下 ./rknn_yolo_demo 脚本源码,如果是非二进制,找一下原因。看提示应该是脚本执行linux命令的时候找不到文件导致的。

林飞 发表于 2022-3-30 10:50:00

请问问题解决了没有?
页: [1]
查看完整版本: Failed to open device: No such file or directory, Try again...