|
在rk3399pro的一个usb接口接入rk1808。运行/home/toybrick/rknn-toolkit-v1.3.0/examples/tflite/mobilenet_v1/test.py
1. ret = rknn.init_runtime(target='rk1808', device_id='TS018082190800508')
用rk1808能够成功运行
2. ret = rknn.init_runtime(target='rk3399pro', device_id='f4feda64a23dbb51')
用rk3399pro会有如下错误:
--> Init runtime environment
E Only support ntb mode on ARM64 platform. But can not find device with ntb mode.
E Catch exception when init runtime!
E Traceback (most recent call last):
E File "rknn/api/rknn_base.py", line 963, in rknn.api.rknn_base.RKNNBase.init_runtime
E File "rknn/api/rknn_runtime.py", line 161, in rknn.api.rknn_runtime.RKNNRuntime.__init__
E File "rknn/api/rknn_platform_utils.py", line 268, in rknn.api.rknn_platform_utils.start_ntp_or_adb
E Exception: Init runtime environment failed!
E Current device id is: f4feda64a23dbb51
E Devices connected:
E ['f4feda64a23dbb51', 'TS018082190800508']
Init runtime environment failed
但是list_device返回的结果是两个硬件都是ntb模式:
>>> rknn.list_devices()
*************************
all device(s) with ntb mode:
f4feda64a23dbb51,TS018082190800508
*************************
([], ['f4feda64a23dbb51', 'TS018082190800508'])
请问版主,这个问题该如何解决?谢谢!
|
|