在升级 rknn-toolkit 到 1.2.1 后,在 rk3399pro 上 rknn.load_tensorflow()/rknn.build()/rknn.export_rknn() 执行成功,在执行 rknn.init_runtime() 时失败:
D Packing gen_1/up_sample_conv_2/conv2d_transpose_152 ... I Build config finished. P20129 2019-11-20 06:01:55,253 I [enhancement.py:29] built rknn model P20129 2019-11-20 06:01:55,268 I [enhancement.py:35] exported rknn model I npu_transfer_proxy pid: 619, status: sleeping D NPUTransfer: efuseid = 3399:0000000000000000 D NPUTransfer: Transfer spec = local:transfer_proxy D NPUTransfer: Transfer interface successfully opened, fd = 5 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.2.0 (1190a71 build: 2019-09-25 12:39:26) E RKNNAPI: DRV: 0.9.9 (8509ec7 build: 2019-08-05 10:54:34) E RKNNAPI: ============================================== D NPUTransfer: Transfer client closed, fd = 5 E Catch exception when init runtime! E Traceback (most recent call last): E File "rknn/api/rknn_base.py", line 788, in rknn.api.rknn_base.RKNNBase.init_runtime E File "rknn/api/rknn_runtime.py", line 303, in rknn.api.rknn_runtime.RKNNRuntime.build_graph E Exception: RKNN init failed. error code: RKNN_ERR_MODEL_INVALID P20129 2019-11-20 06:01:58,024 E [enhancement.py:45] failed to initialize runtime
能帮忙看下是什么原因吗?完整日志在附件中。
|