airockchip / rknn-toolkit2

Other
760 stars 78 forks source link

Official sample question of rknn-tool-lite2 #16

Open vik0909 opened 5 months ago

vik0909 commented 5 months ago

When I run the official SDK on rock5a test.py in the rknn-tool-lite2 /example/dynamic_shape I got this

(py310) rock@rock-5a:~/dynamic_shape$ python test.py --> Load RKNN model done --> Init runtime environment I RKNN: [14:09:40.197] RKNN Runtime Information, librknnrt version: 2.0.0b0 (35a6907d79@2024-03-24T10:31:14) I RKNN: [14:09:40.197] RKNN Driver Information, version: 0.8.2 W RKNN: [14:09:40.197] Current driver version: 0.8.2, recommend to upgrade the driver to the new version: >= 0.8.8 I RKNN: [14:09:40.197] RKNN Model Information, version: 6, toolkit version: 2.0.0b0+9bab5682(compiler version: 2.0.0b0 (35a6907d79@2024-03-24T02:34:11)), target: RKNPU v2, target platform: rk3588, framework name: Caffe, framework layout: NCHW, model inference type: dynamic_shape done --> Running model model: mobilenet_v2

input shape: 1,3,224,224 W The input[0] need NHWC data format, but NCHW set, the data format and data buffer will be changed to NHWC. Aborted (core dumped)

Does anyone know why?

chenrobin commented 5 months ago

谢谢,邮件我已收到