标题: 新人求教,RKNN_ERR_DEVICE_UNAVAILABLE,返回ERROR值为368 [打印本页] 作者: Booomshaker 时间: 2020-8-9 00:58 标题: 新人求教,RKNN_ERR_DEVICE_UNAVAILABLE,返回ERROR值为368 我在将onnx转换为量化后的rknn模型后,执行rknn.init_runtime时报错,内容如下
Loading RKNN model ../models/coco_tracking.rknn
done
--> init runtime
D target set by user is: rk3399pro
D Start adb...
D Connect to Device success!
D NPUTransfer: Transfer spec = local:transfer_proxy
D NPUTransfer: Transfer interface successfully opened, fd = 4
D NPUTransfer: The connection has been closed, socket read fd = 4
D NPUTransfer: Transfer client closed, fd = 4
E RKNNAPI: rknn_init, recv(MsgLoadAck) fail, -9(ERROR_PIPE) != 368!
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_DEVICE_UNAVAILABLE