|
发表于 2021-8-24 17:39:28
只看该作者
14#
done
--> Export RKNN model
done
--> Init runtime environment
error: no devices/emulators found
E init_runtime: Connect to Device Failure (-1)
E init_runtime: Catch exception when init runtime!
E init_runtime: Traceback (most recent call last):
E init_runtime: File "rknn/api/rknn_base.py", line 2432, in rknn.api.rknn_base.RKNNBase.init_runtime
E init_runtime: File "rknn/api/rknn_runtime.py", line 190, in rknn.api.rknn_runtime.RKNNRuntime.__init__
E init_runtime: File "rknn/api/rknn_platform_utils.py", line 330, in rknn.api.rknn_platform_utils.start_ntp_or_adb
E init_runtime: Exception: Init runtime environment failed!
E init_runtime: Current device id is: None
Traceback (most recent call last):
File "test.py", line 65, in <module>
ret = rknn.init_runtime(target='rk3568')
File "/home/ts/project/rknn-toolkit2-1.1.0b0/venv/lib/python3.6/site-packages/rknn/api/rknn.py", line 324, in init_runtime
self.rknn_log.e("Current device id is: {}".format(device_id))
File "rknn/api/rknn_log.py", line 105, in rknn.api.rknn_log.RKNNLog.e
ValueError: Current device id is: None
|
|