Toybrick
标题:
关于rk3588遇到的问题
[打印本页]
作者:
zack
时间:
2024-10-24 12:39
标题:
关于rk3588遇到的问题
I RKNN: [10:25:06.831] RKNN Runtime Information, librknnrt version: 2.2.0 (c195366594@2024-09-14T12:18:56)
I RKNN: [10:25:06.832] RKNN Driver Information, version: 0.9.3
I RKNN: [10:25:06.832] RKNN Model Information, version: 6, toolkit version: 2.0.0b23+29ceb58d(compiler version: 2.0.0b23 (df183482c4@2024-07-22T01:33:03)), target: RKNPU v2, target platform: rk3588, framework name: ONNX, framework layout: NCHW, model inference type: static_shape
W RKNN: [10:25:06.874] query RKNN_QUERY_INPUT_DYNAMIC_RANGE error, rknn model is static shape type, please export rknn with dynamic_shapes
W Query dynamic range failed. Ret code: RKNN_ERR_MODEL_INVALID. (If it is a static shape RKNN model, please ignore the above warning message.)
W rknn-toolkit-lite2 version: 2.2.0
--> Loading RKNN model,
done
--> Init runtime environment
I RKNN: [10:25:07.193] RKNN Runtime Information, librknnrt version: 2.2.0 (c195366594@2024-09-14T12:18:56)
I RKNN: [10:25:07.193] RKNN Driver Information, version: 0.9.3
E RKNN: [10:25:07.193] parseRKNN: invalid RKNN_MAGIC!
E RKNN: [10:25:07.193] parseRKNN from buffer: Invalid RKNN format!
E RKNN: [10:25:07.193] rknn_init, load model failed!
E Catch exception when init runtime!
E Traceback (most recent call last):
File "/home/pi/miniconda3/envs/rknn2/lib/python3.8/site-packages/rknnlite/api/rknn_lite.py", line 157, in init_runtime
self.rknn_runtime.build_graph(self.rknn_data, self.load_model_in_npu)
File "rknnlite/api/rknn_runtime.py", line 921, in rknnlite.api.rknn_runtime.RKNNRuntime.build_graph
Exception: RKNN init failed. error code: RKNN_ERR_MODEL_INVALID
Init runtime environment failed
这个报错是可能因为什么原因导致的呢?
作者:
zack
时间:
2024-10-24 12:40
已解决!!!!!!!!
欢迎光临 Toybrick (https://t.rock-chips.com/)
Powered by Discuz! X3.3