标题: 加载rknn模型之后,init_runtime里要输入device_id嘛 [打印本页] 作者: zjj19941024 时间: 2019-7-6 17:02 标题: 加载rknn模型之后,init_runtime里要输入device_id嘛 把tensorflow模型转换成rknn的模型之后,加载rknn的模型然后init_runtime出错了 是不是ret = rknn.init_runtime(target='rk3399pro') 这里没有填device_id的原因?
-->loading model
loading model done
--> Init runtime environment
E NPUTransfer: Cannot connect to proxy: Connection refusedspec = local:transfer_proxy
E RKNNAPI: rknn_init, driver open fail! ret = -4!
E Catch exception when init runtime!
T Traceback (most recent call last):
T File "rknn/api/rknn_base.py", line 617, in rknn.api.rknn_base.RKNNBase.init_runtime
T File "rknn/api/rknn_runtime.py", line 378, in rknn.api.rknn_runtime.RKNNRuntime.build_graph
T Exception: RKNN init failed. error code: RKNN_ERR_DEVICE_UNAVAILABLE
Init runtime environment failed