Toybrick

fedora: rknn.init_runtime fail, ret -1

moranca

注册会员

积分
51
楼主
发表于 2019-10-11 11:55:16    查看: 5716|回复: 2 | [复制链接]    打印 | 只看该作者

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

版主

积分
12940
沙发
发表于 2019-10-11 14:26:28 | 只看该作者
E Connect to Device Failure (-1)
回复

使用道具 举报

moranca

注册会员

积分
51
板凳
 楼主| 发表于 2019-10-11 15:12:38 | 只看该作者
jefferyzhang 发表于 2019-10-11 14:26
E Connect to Device Failure (-1)

  搞定了  原来是板子有问题,换了块板子就可以了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表