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)
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?