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

提示无效的rknn模型——E RKNN: [08:56:48.563] Invalid RKNN model version 6 #19

Open
Levin-x opened this issue Nov 17, 2023 · 7 comments

Comments

@Levin-x
Copy link

Levin-x commented Nov 17, 2023

大佬你好,我在将我自己的模型(用airockchip/yolov5训练出来,然后用1.5.2版本的rknn-toolkit2进行了onnx到rknn的转换)在您的多线程项目里面编译后运行出现了这个错误:
模型名称: ./model/RK3588/best1117.rknn
线程数: 6
Loading mode...
E RKNN: [08:56:48.562] 6, 4
E RKNN: [08:56:48.563] Invalid RKNN model version 6
E RKNN: [08:56:48.563] rknn_init, load model failed!
rknn_init error ret=-6
我的是rk3588,板子上的rknn-server版本是1.5.2,非常期待您的回复!

@Levin-x Levin-x changed the title E RKNN: [08:56:48.563] Invalid RKNN model version 6 提示无效的rknn模型——E RKNN: [08:56:48.563] Invalid RKNN model version 6 Nov 17, 2023
@leafqycc
Copy link
Owner

leafqycc commented Nov 17, 2023

大佬你好,我在将我自己的模型(用airockchip/yolov5训练出来,然后用1.5.2版本的rknn-toolkit2进行了onnx到rknn的转换)在您的多线程项目里面编译后运行出现了这个错误: 模型名称: ./model/RK3588/best1117.rknn 线程数: 6 Loading mode... E RKNN: [08:56:48.562] 6, 4 E RKNN: [08:56:48.563] Invalid RKNN model version 6 E RKNN: [08:56:48.563] rknn_init, load model failed! rknn_init error ret=-6 我的是rk3588,板子上的rknn-server版本是1.5.2,非常期待您的回复!

目前此项目用的都是1.5.0的api,如果要运行1.5.2的模型需要对代码进行改动(1.5.2不向下兼容)
本学期作业较多暂没有更新此项目的时间)

@Levin-x
Copy link
Author

Levin-x commented Nov 18, 2023

谢谢您的回复,那请问我是不是可以通过降低rknn-toolkit2版本为1.5.0来解决这个问题呢

@leafqycc
Copy link
Owner

谢谢您的回复,那请问我是不是可以通过降低rknn-toolkit2版本为1.5.0来解决这个问题呢

是可以的

@Levin-x
Copy link
Author

Levin-x commented Nov 18, 2023

感谢您,这个问题已经解决了,谢谢大佬!

@xc597
Copy link

xc597 commented Apr 27, 2024

@Levin-x 请问rknn-toolkit2版本1.5.0的.whl文件在哪里下载,我网上找不到

@GitHubmalajava
Copy link

感谢您,这个问题已经解决了,谢谢大佬!

您好,可以麻烦给个1.5版本的包吗

@SeasClouds
Copy link

@leafqycc 使用本项目里自带的模型会有这个提示 是那里不对吗

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