标题: 模型初始化失败:RKNN_ERR_MODEL_INVALID [打印本页] 作者: zjmmm 时间: 2020-7-7 19:40 标题: 模型初始化失败:RKNN_ERR_MODEL_INVALID debian10上模型初始化失败,原始的pth模型是可以跑通的,我的过程是pth转pt转rknn。这些过程都走通了,然后infer的时候报错了
请问是什么原因?
devices list[], ['1d50520cf48e7f72'])
I NPUTransfer: Starting NPU Transfer Client, Transfer version 1.9.8 (40e4a8a@2020-01-02T09:16:20)
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.2 (9eebd73 build: 2020-04-02 15:30:36)
E RKNNAPI: DRV: 1.3.2 (f113d64 build: 2020-04-23 09:35:26)
E RKNNAPI: ==============================================
E Catch exception when init runtime!
E Traceback (most recent call last):
E File "rknn/api/rknn_base.py", line 1067, in rknn.api.rknn_base.RKNNBase.init_runtime
E File "rknn/api/rknn_runtime.py", line 326, in rknn.api.rknn_runtime.RKNNRuntime.build_graph
E Exception: RKNN init failed. error code: RKNN_ERR_MODEL_INVALID
Init runtime environment failed