airockchip / rknn_model_zoo

Apache License 2.0
996 stars 182 forks source link

在3588板端部署后推理报错(tookit和zoo用的都是1.6.0版本的) #149

Open 133673 opened 3 months ago

133673 commented 3 months ago

neardi@LPA3588:~/github/rknn_model_zoo/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:29:18.964] 6, 1 E RKNN: [16:29:18.964] Invalid RKNN model version 6 E RKNN: [16:29:18.964] rknn_init, load model failed! rknn_init fail! ret=-1 init_yolov8_model fail! ret=-1 model_path=model/yolov8.rknn free(): invalid pointer Aborted 大佬为啥我在板端编译后推理图片报这个呢

airockchip commented 2 months ago

应该还是librknnrt.so版本不匹配,或者模型的target_platform没有设置成rk3588

133673 commented 2 months ago

1.模型转换成功

  1. librknnrt.so版本和zoo还有tookit2都用的2.0.beta0

    3.驱动也更新了

  2. sudo ./build-linux.sh -t rk3588 -a aarch64 -d yolov8编译无错

    5.sudo ./rknn_yolov8_demo model/yolov8.rknn model/bus.jpg在3588板端运行推理报错

    按照您之前的方式也下载了最新的so库,还是无法推理成功

---- 回复的原邮件 ---- | 发件人 | @.> | | 发送日期 | 2024年8月8日 19:45 | | 收件人 | @.> | | 抄送人 | @.>, @.> | | 主题 | Re: [airockchip/rknn_model_zoo] 在3588板端部署后推理报错(tookit和zoo用的都是1.6.0版本的) (Issue #149) |

应该还是librknnrt.so版本不匹配,或者模型的target_platform没有设置成rk3588

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>