标题: fedora: rknn.init_runtime fail, ret -1 [打印本页] 作者: moranca 时间: 2019-10-11 11:55 标题: fedora: rknn.init_runtime fail, ret -1
rknn_toolkit1.2.0 mobilenet-ssd example
[toybrick@localhost mobilenet-ssd]$ python3 ssd.py
/usr/lib64/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
from ._conv import register_converters as _register_converters
/home/toybrick/.local/lib/python3.6/site-packages/onnx_tf/common/__init__.py:87: UserWarning: FrontendHandler.get_outputs_names is deprecated. It will be removed in future release.. Use node.outputs instead.
warnings.warn(message)
--> Loading model
done
--> Building model
done
--> Init runtime environment
E Connect to Device Failure (-1)
E Catch exception when init runtime!
T Traceback (most recent call last):
T File "rknn/api/rknn_base.py", line 769, in rknn.api.rknn_base.RKNNBase.init_runtime
T File "rknn/api/rknn_runtime.py", line 142, in rknn.api.rknn_runtime.RKNNRuntime.__init__
T File "rknn/api/rknn_platform_utils.py", line 271, in rknn.api.rknn_platform_utils.start_ntp_or_adb
T Exception: Init runtime environment failed!
Init runtime environment failed, ret -1
作者: jefferyzhang 时间: 2019-10-11 14:26
E Connect to Device Failure (-1)作者: moranca 时间: 2019-10-11 15:12