Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is RK3399pro user mode library not supported for 1.7.1 yet? #22

Open
eungiHong opened this issue Dec 21, 2021 · 0 comments
Open

Is RK3399pro user mode library not supported for 1.7.1 yet? #22

eungiHong opened this issue Dec 21, 2021 · 0 comments

Comments

@eungiHong
Copy link

eungiHong commented Dec 21, 2021

I tried to run rknpu/rknn/rknn_api/examples/rknn_yolov5_demo on RK3399Pro (Tinker Edge R) with rknpu driver 1.7.1 installed from this repo.
However, as noted on README.md, I got following error messages:
Failed to open device: No such file or directory, Try again...
_OpenDevice(1091): FATAL: Failed to open device, errno=No such file or directory

Then, I found that the user mode library for RK3399pro is different from this repo. So I downloaded "rknn_api.h" and "librknn_api.so" from "RKNPUTools" and compiled rknn_yolov5_demo.

However, this time, the program crashed with the following messages:
E RKNNAPI: rknn_init, msg_load_ack fail, ack = 1 (ACK_FAIL), expect 0 (ACK_SUCC)!
E RKNNAPI: RKNN VERSION:
E RKNNAPI: API: 1.6.1 (00c4d8b build: 2021-03-15 16:31:37)
E RKNNAPI: DRV: 1.4.0 (b4a8096 build: 2020-09-14 11:15:57)
rknn_init error ret = -6

Seeing that the latest commit history from RKNPUTools is for 1.6.1, I believe that the user mode library for RK3399Pro for 1.7.1 is not yet supported?

If I am right, do you have any plan for the API release?
If not, is there any way to run yolov5 with NPU from lower versions such as 1.6.0?

Thank you in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant