rockchip-linux / rknn-toolkit2

BSD 3-Clause "New" or "Revised" License
864 stars 154 forks source link

yolov8s conversion results in 'failed to submit!' on inference. #135

Open neocoretechs opened 1 year ago

neocoretechs commented 1 year ago

After conversion of yolov8s from ONNX without any errors being reported and using same format as previous yolov5s (which is working), I get this fault on inference after successful load of model. E RKNN: [01:25:20.303] failed to submit! op id: 1, op name: Conv:/model.0/conv/Conv, flags: 0x5, task start: 0, task number: 19, run task counter: 0, int status: 0

Loaded model reports as follows: RKNN SDK - API version:1.4.0 (a10f100eb@2022-09-09T09:07:14), Driver version:0.8 .2 Number inputs=1, Number outputs=1 Tensor input layer 0 attributes: index=0, name=images, n_dims=4, dims=[1, 640, 640, 3], n_elems=1228800, size=1 228800, fmt=NHWC, type=INT8, quantitative_type=AFFINE, zp=-128, scale=0.003922, fl=0, w_stride=640, size_with_stride=1228800, pass_through=0, h_stride=0

Tensor output layer 0 attributes: index=0, name=output0, n_dims=4, dims=[1, 84, 8400, 1], n_elems=705600, size=7 05600, fmt=NCHW, type=INT8, quantitative_type=AFFINE, zp=-128, scale=2.498975, f l=0, w_stride=0, size_with_stride=705600, pass_through=0, h_stride=0

gujiacheng commented 1 year ago

same error

JoshuaJakowlew commented 12 months ago

Same error. Anyone have an idea how to fix this?

TakeshiGianlee commented 5 months ago

Same error. Anyone have an idea how to fix this?

do you fix that?

JoshuaJakowlew commented 5 months ago

Same error. Anyone have an idea how to fix this?

do you fix that?

Unfortunately, no

TakeshiGianlee commented 5 months ago

Same error. Anyone have an idea how to fix this?

do you fix that?

Unfortunately, no

I solved that 2 weeks ago. My device is orangepi 5 plus(RK3588),when i tried inference yolov9 while using 6.1.43 kernel for ubuntu I got this error.But when I run my code on 5.10 kernel the error disppear.