|
在 x86_64 的 Ubuntu 平台下,把 tensorflow 的模型转换成了 rknn 格式。然后在 rk3399pro 上用 load_rknn() 载入,在 init_runtime() 时报错 RKNN_ERR_MODEL_INVALID,不知道是什么意思?rk3399pro 已经刷了最新的 Fedora V1.5 固件。rknn-toolkit 都是用的 1.2.1
D Save log info to: ./verbose.log
P12948 2019-11-22 06:45:45,286 I [enhancement.py:41] loaded rknn model
I npu_transfer_proxy pid: 679, status: sleeping
D NPUTransfer: efuseid = 3399:6c1234ab1cf918b3
D NPUTransfer: Transfer spec = local:transfer_proxy
D NPUTransfer: Transfer interface successfully opened, fd = 4
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 = 4
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
|
|