rockchip-linux / rknn-toolkit

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

rknn_init error ret=-5 #440

Open chenzhu005774 opened 3 months ago

chenzhu005774 commented 3 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