Toybrick

标题: RK1808载入RKNN模型出错 [打印本页]

作者: lijie    时间: 2020-2-18 21:53
标题: RK1808载入RKNN模型出错
在rk3399pro上连上rk1808后,rk3399pro能载入并做预测的模型在试图载入rk1808时,会有如下错误:

I Device [TS018082190800508] use ntb.
I npu_transfer_proxy pid: 780, status: sleeping
D NPUTransfer: efuseid = 3399:7795ac951689dc60
I NPUTransfer: Starting NPU Transfer Client, Transfer version 1.9.8 (cab3961@2019-12-12T09:54:26)
D NPUTransfer: Transfer spec = local:transfer_proxy
D NPUTransfer: Transfer interface successfully opened, fd = 10
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.3.0 (c5654ea build: 2019-12-25 12:40:55)
E RKNNAPI:   DRV: 1.3.0 (c4f8c23 build: 2019-11-25 10:39:29)
E RKNNAPI: ==============================================
D NPUTransfer: Transfer client closed, fd = 10
E Catch exception when init runtime!
E Traceback (most recent call last):
E   File "rknn/api/rknn_base.py", line 988, in rknn.api.rknn_base.RKNNBase.init_runtime
E   File "rknn/api/rknn_runtime.py", line 320, in rknn.api.rknn_runtime.RKNNRuntime.build_graph
E Exception: RKNN init failed. error code: RKNN_ERR_MODEL_INVALID
P4751 2020-02-18 05:46:33,638 E [enhancement.py:59] failed to initialize runtime




楼主你知道这是为什么?谢谢!

作者: lijie    时间: 2020-2-25 23:16
谢谢版主

最后通过更新RK1808的固件解决了问题




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