|
目前我公司正在评估TB-RK1808S0,准备应用到现有产品中,目前USB计算棒能够在PC上成功运行。
但是放到ARM64开发板上时,无法正常初始化计算棒。
所有的软件依赖都已经安装完成,而且能够查找到计算棒设备。
root@localhost:~/rknn/mobilenet_v1# lsusb
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 2207:0018
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
错误信息:
>>> rknn = RKNN()
>>> rknn.config(channel_mean_value='103.94 116.78 123.68 58.82', reorder_channel='0 1 2')
>>> ret = rknn.load_tflite(model='./mobilenet_v1.tflite')
>>> ret = rknn.build(do_quantization=True, dataset='./dataset.txt')
>>> ret
0
>>> ret = rknn.export_rknn('./mobilenet_v1.rknn')
>>> ret = rknn.init_runtime(target='rk1808')
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: None
E Devices connected:
E ['TS018080190600085']
请问这是什么原因
|
|