Toybrick

关于rk3588遇到的问题

zack

新手上路

积分
39
楼主
发表于 2024-10-24 12:39:50    查看: 109|回复: 1 | [复制链接]    打印 | 只看该作者
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

新手上路

积分
39
沙发
 楼主| 发表于 2024-10-24 12:40:51 | 只看该作者
已解决!!!!!!!!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表