Toybrick

标题: Init runtime environment failed [打印本页]

作者: helloworld777    时间: 2021-4-8 13:02
标题: Init runtime environment failed
==>>Loading model
-->>Loading model done
-->>Init runtime environment
I NPUTransfer: Starting NPU Transfer Client, Transfer version 2.1.0 (b5861e7@2020-11-23T11:50:51)
E RKNNAPI: rknn_init,  msg_load_ack fail, ack = 1(ACK_FAIL), expect 0(ACK_SUCC)!
E RKNNAPI: ==============================================
E RKNNAPI: RKNN VERSION:
E RKNNAPI:   API: 1.6.0 (79320de build: 2020-12-29 10:57:09)
E RKNNAPI:   DRV: 1.6.0 (159d2d3 build: 2021-01-12 15:23:09)
E RKNNAPI: ==============================================
E Catch exception when init runtime!
E Traceback (most recent call last):
E   File "rknn/api/rknn_base.py", line 844, in rknn.api.rknn_base.RKNNBase.init_runtime
E   File "rknn/api/rknn_runtime.py", line 340, in rknn.api.rknn_runtime.RKNNRuntime.build_graph
E Exception: RKNN init failed. error code: RKNN_ERR_MODEL_INVALID
Init runtime environment failed
请问这个报错原因是什么?

作者: jefferyzhang    时间: 2021-4-8 14:24
如同错误描述 error code: RKNN_ERR_MODEL_INVALID ,
你转换的模型有问题,无法被NPU加载




欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3