|
运行rknn-toolkit1.2.1中的mobilenetv1.py例子出现如下错误:
- --> 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!
- E Traceback (most recent call last):
- E File "rknn/api/rknn_base.py", line 788, in rknn.api.rknn_base.RKNNBase.init_runtime
- E File "rknn/api/rknn_runtime.py", line 303, in rknn.api.rknn_runtime.RKNNRuntime.build_graph
- E Exception: RKNN init failed. error code: RKNN_ERR_DEVICE_UNAVAILABLE
- E Current device id is: TS018082190800536
- E Devices connected:
- E Execute adb devices failed, ret code: 127. /usr/local/lib/python3.5/dist-packages/rknn/3rdparty/platform-tools/adb/linux-aarch64/adb: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
- Traceback (most recent call last):
- File "test.py", line 67, in <module>
- ret = rknn.init_runtime(target='rk1808', device_id='TS018082190800536')
- File "/usr/local/lib/python3.5/dist-packages/rknn/api/rknn.py", line 292, in init_runtime
- adb_devices, ntb_devices = self.rknn_base.list_devices()
- File "rknn/api/rknn_base.py", line 730, in rknn.api.rknn_base.RKNNBase.list_devices
- File "rknn/api/rknn_platform_utils.py", line 331, in rknn.api.rknn_platform_utils.get_adb_devices
- RuntimeError
我的系统环境如下:
平台:rk3399
系统:Ubuntu16.04
python:3.5.2
rknn-toolkit版本:1.2.1计算棒模式:slave
测试文件我仅仅将rknn.init_runtime的入参改成自己神经棒的参数,其他都没有改。
跪求大神指教。。
|
|