- librknn_runtime version 1.7.0 (0bef7b3 build: 2021-08-18 19:55:01 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.
复制代码
我尝试过更新rknpu驱动,重新刷固件等都无法解决。jefferyzhang 发表于 2023-2-16 09:03
所以你是在1126板子上跑一个target=1109的模型?
jefferyzhang 发表于 2023-2-16 09:03
所以你是在1126板子上跑一个target=1109的模型?
jefferyzhang 发表于 2023-2-16 09:03
所以你是在1126板子上跑一个target=1109的模型?
我是流氓我怕谁 发表于 2023-2-16 11:04
需要安装rknn-rv1126 ,重启后驱动才会加载。
我是流氓我怕谁 发表于 2023-2-16 11:04
需要安装rknn-rv1126 ,重启后驱动才会加载。
- toybrick@debian10:~$ sudo apt install rknn-rv1126
- [sudo] password for toybrick:
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following NEW packages will be installed:
- rknn-rv1126
- 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
- Need to get 0 B/12.8 MB of archives.
- After this operation, 113 MB of additional disk space will be used.
- perl: warning: Setting locale failed.
- perl: warning: Please check that your locale settings:
- LANGUAGE = (unset),
- LC_ALL = (unset),
- LANG = "zh_CN.UTF-8"
- are supported and installed on your system.
- perl: warning: Falling back to the standard locale ("C").
- locale: Cannot set LC_CTYPE to default locale: No such file or directory
- locale: Cannot set LC_MESSAGES to default locale: No such file or directory
- locale: Cannot set LC_ALL to default locale: No such file or directory
- Selecting previously unselected package rknn-rv1126.
- (Reading database ... 30909 files and directories currently installed.)
- Preparing to unpack .../rknn-rv1126_1.0.0-1_armhf.deb ...
- Progress: [ 0%] [....................................................................................]
- Unpacking rknn-rv1126 (1.0.0-1) ......................................................................]
- Setting up rknn-rv1126 (1.0.0-1) ...###############...................................................]
- Progress: [ 60%] [##################################################..................................]
- Processing triggers for libc-bin (2.28-10+deb10u1) ...###############################.................]
- ldconfig: /lib/arm-linux-gnueabihf/libOpenVX.so.1 is not a symbolic link
- toybrick@debian10:~$ sudo reboot
- 连接断开
- 连接主机...
- 连接主机成功
- Linux debian10.toybrick 4.19.172 #130 SMP PREEMPT Wed Jun 16 19:25:46 CST 2021 armv7l
- The programs included with the Debian GNU/Linux system are free software;
- the exact distribution terms for each program are described in the
- individual files in /usr/share/doc/*/copyright.
- Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
- permitted by applicable law.
- Last login: Thu Feb 16 03:14:21 2023 from 192.168.0.125
- toybrick@debian10:~$ python3 /vendor/etc/model/test.py
- --> list devices:
- *************************
- None devices connected.
- *************************
- done
- --> query support target platform
- **************************************************
- Target platforms filled in RKNN model: ['RV1109']
- Target platforms supported by this RKNN model: ['RV1109', 'RK1109', 'RV1126', 'RK1126']
- **************************************************
- done
- --> Load RKNN model
- done
- --> Init runtime environment
- librknn_runtime version 1.7.0 (0bef7b3 build: 2021-08-18 19:55:01 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.
- toybrick@debian10:~$
复制代码
在安装过程中出现了“Setting locale failed.”和“No such file or directory”不知道有没有影响欢迎光临 Toybrick (https://t.rock-chips.com/) | Powered by Discuz! X3.3 |