Toybrick

标题: RKNN init failed. error code: RKNN_ERR_DEVICE_UNAVAILABLE [打印本页]

作者: jss123456    时间: 2020-8-25 15:54
标题: RKNN init failed. error code: RKNN_ERR_DEVICE_UNAVAILABLE
arm64平台 Linux  rk1808s0加速棒
成功安装了RKNN toolkit1.1.0
被动模式下运行example 里的 demo,
遇到了运行时错误 :
rknn版本和rk1808加速棒版本有关系吗?


kylin@Kylin:~/Rknn-toolkit1.1.0/mobilenet_v1$ python3 test.py
/usr/local/lib/python3.5/dist-packages/h5py-2.9.0.post0-py3.5-linux-aarch64.egg/h5py/__init__.py:75: UserWarning: h5py is running against HDF5 1.10.1 when it was built against 1.8.4, this may cause problems
  '{0}.{1}.{2}'.format(*version.hdf5_built_version_tuple)
--> config model
done
--> Loading model
done
--> Building model
done
--> Export RKNN model
done
--> Init runtime environment
E RKNNAPI: rknn_init,  driver open fail!  ret = -12(ERROR_NOT_SUPPORTED)!
E Catch exception when init runtime!
T Traceback (most recent call last):
T   File "rknn/api/rknn_base.py", line 664, in rknn.api.rknn_base.RKNNBase.init_runtime
T   File "rknn/api/rknn_runtime.py", line 274, in rknn.api.rknn_runtime.RKNNRuntime.build_graph
T Exception: RKNN init failed. error code: RKNN_ERR_DEVICE_UNAVAILABLE
Init runtime environment failed


作者: leok    时间: 2020-8-26 08:49
请升级1.4.0




欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3