|
使用rk3566搭配rknntoolkit2出现:RKNN_ERR_DEVICE_UNAVAILABLE
发表于 2021-9-24 15:00:37
浏览:5534
|
回复:2
打印
只看该作者
[复制链接]
楼主
求求知道的大神帮忙
完整错误信息如下:
done
--> Loading model
done
--> Building model
Analysing : 0%| | 0/Analysing : 42%|████████████████████▌ | 59/141 [00:0Analysing : 54%|██████████████████████████▍ | 76/141 [00:0Analysing : 65%|███████████████████████████████▌ | 91/141 [00:0Analysing : 75%|████████████████████████████████████ | 106/141 [00:0Analysing : 85%|█████████████████████████████████████████▋ | 120/141 [00:Analysing : 93%|█████████████████████████████████████████████▌ | 131/141 [00:Analysing : 99%|████████████████████████████████████████████████▋| 140/141 [00:Analysing : 100%|█████████████████████████████████████████████████| 141/141 [00:01<00:00, 88.53it/s]
Quantizating : 0%| | 0/Quantizating : 15%|██████▊ | 21/141 [00:0Quantizating : 30%|██████████████ | 43/141 [00:0Quantizating : 54%|████████████████████████▊ | 76/141 [00:0Quantizating : 81%|████████████████████████████████████▍ | 114/141 [00:0Quantizating : 97%|███████████████████████████████████████████▋ | 137/141 [00:0Quantizating : 100%|█████████████████████████████████████████████| 141/141 [00:00<00:00, 267.06it/s]
I RKNN: librknnc version: 1.1.0b0 (8d7e25ad@2021-06-30T18:33:39)
I RKNN: set log level to 0
done
--> Export RKNN model
done
--> Init runtime environment
I NPUTransfer: Starting NPU Transfer Client, Transfer version 2.1.0 (b5861e7@2020-11-23T11:50:36)
E RKNNAPI: rknn_init, driver open fail! ret = -9(ERROR_PIPE)!
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 2446, in rknn.api.rknn_base.RKNNBase.init_runtime
E init_runtime: File "rknn/api/rknn_runtime.py", line 369, in rknn.api.rknn_runtime.RKNNRuntime.build_graph
E init_runtime: Exception: RKNN init failed. error code: RKNN_ERR_DEVICE_UNAVAILABLE
E init_runtime: Current device id is: b5a3b7e8334fce69
Traceback (most recent call last):
File "test.py", line 116, in <module>
ret = rknn.init_runtime(target='rk3566', device_id='b5a3b7e8334fce69')
File "/home/lin/anaconda3/envs/rknn2/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: b5a3b7e8334fce69
|
|