|
把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
adb看设备id是在android系统下吗?
sudo dnf update也更新完了
|
|