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模型推理没问题,我的模型会报错,求博主帮忙看下(附带了log信息) #17

Open
Levin-x opened this issue Nov 13, 2023 · 1 comment

Comments

@Levin-x
Copy link

Levin-x commented Nov 13, 2023

大佬,太谢谢您了,我刚刚试了下您的项目,用您项目中自带的rknn模型效果都非常不错,我有个问题想要请教您,在您的项目中我将我自己的rknn模型加到model/RK3588/后进行编译,然后再执行视频推理,结果却报错了,您能帮我看看问题在哪里吗,这个问题我在官方demo工程中也遇到了,用官方rknn模型是没问题的,但是换成我的模型就有问题,下面是报错的具体信息:
fault_log.txt

@leafqycc
Copy link
Owner

大佬,太谢谢您了,我刚刚试了下您的项目,用您项目中自带的rknn模型效果都非常不错,我有个问题想要请教您,在您的项目中我将我自己的rknn模型加到model/RK3588/后进行编译,然后再执行视频推理,结果却报错了,您能帮我看看问题在哪里吗,这个问题我在官方demo工程中也遇到了,用官方rknn模型是没问题的,但是换成我的模型就有问题,下面是报错的具体信息: fault_log.txt

看起来似乎是rknn模型导出所使用的rknn-toolkit2版本不对
此项目演示用的接口版本为RK_NPU_SDK 1.5.0,目前官方rknpu2仓库下的版本为RK_NPU_SDK 1.5.2
您可以前往RK_NPU_SDK (PWD: rknn)然后安装对应的版本试试
该issue里提到的问题也与您类似PaddlePaddle/FastDeploy#1530

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

2 participants