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

初始化环境失败:Invalid RKNN model version 6 #316

Open
GitHubmalajava opened this issue Jun 4, 2024 · 5 comments
Open

初始化环境失败:Invalid RKNN model version 6 #316

GitHubmalajava opened this issue Jun 4, 2024 · 5 comments

Comments

@GitHubmalajava
Copy link

--> Init runtime environment
I RKNN: [17:10:15.695] RKNN Runtime Information: librknnrt version: 1.5.0 (e6fe0c678@2023-05-25T08:09:20)
I RKNN: [17:10:15.695] RKNN Driver Information: version: 0.9.0
E RKNN: [17:10:15.696] 6, 4
E RKNN: [17:10:15.696] Invalid RKNN model version 6
E RKNN: [17:10:15.696] rknn_init, load model failed!
E Catch exception when init runtime!
E Traceback (most recent call last):
File "/home/linaro/miniconda3/envs/rk39/lib/python3.9/site-packages/rknnlite/api/rknn_lite.py", line 149, in init_runtime
self.rknn_runtime.build_graph(self.rknn_data, self.load_model_in_npu)
File "rknnlite/api/rknn_runtime.py", line 921, in rknnlite.api.rknn_runtime.RKNNRuntime.build_graph
Exception: RKNN init failed. error code: RKNN_ERR_MODEL_INVALID 是因为开发板环境太低了吗

@Link164735
Copy link

去官网下载最新的librknnrt.so替换/usr/lib下原来的库就行

@133673
Copy link

133673 commented Aug 5, 2024

您好我下载最新的so之后并替换还是报这个错为什么呢
pi@NanoPC-T6-LTS:~/rk_zo/1.6/rknn_model_zoo-1.6.0/install/rk3588_linux_aarch64/rknn_yolov8_demo$ sudo ./rknn_yolov8_demo model/yolov8.rknn model/bus.jpg
load lable ./model/coco_80_labels_list.txt
E RKNN: [16:40:58.701] 6, 1
E RKNN: [16:40:58.701] Invalid RKNN model version 6
E RKNN: [16:40:58.701] rknn_init, load model failed!
rknn_init fail! ret=-1
init_yolov8_model fail! ret=-1 model_path=model/yolov8.rknn
Segmentation fault

@suse-chen
Copy link

想问一下解决了吗?

@suse-chen
Copy link

有用

@exzvm
Copy link

exzvm commented Oct 24, 2024

去官网下载最新的librknnrt.so替换/usr/lib下原来的库就行

感谢感谢,解决了

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

5 participants