rockchip-linux / rknn-toolkit

BSD 3-Clause "New" or "Revised" License
829 stars 175 forks source link

rknn_init error ret=-5 #440

Open chenzhu005774 opened 8 months ago

chenzhu005774 commented 8 months ago

型号RK3588 系统Ubuntu20.0.4

官方demo 编译后运行报错:

root@firefly:/home/firefly/Desktop/rknpu2/examples/rknn_yolov5_demo/build# ./rknn_yolov5_demo ../model/RK3588/yolov5s-640-640.rknn ../model/bus.jpg post process config: box_conf_threshold = 0.50, nms_threshold = 0.60 Read ../model/bus.jpg ... img width = 640, img height = 640 Loading mode... sdk version: 1.6.0 (9a7b5d24c@2023-12-13T17:31:11) driver version: 0.8.2 model input num: 1, output num: 3 E RKNN: [07:13:44.229] rknn_query, info_len(372) < sizeof(rknn_tensor_attr)(376)! rknn_init error ret=-5

lsq117 commented 1 month ago

hey, have you fixed it yet? i meet the same error

chenzhu005774 commented 1 month ago

use old demo

chenzhu005774 commented 1 month ago

hey, have you fixed it yet? i meet the same error

use old demo code

lsq117 commented 1 month ago

what 's your old vesrsion?

chenzhu005774 commented 1 month ago

what 's your old vesrsion?

I forgot, it's been a long time since I last worked on this project