hippo444 发表于 2021-9-24 15:00:37

使用rk3566搭配rknntoolkit2出现:RKNN_ERR_DEVICE_UNAVAILABLE

求求知道的大神帮忙
完整错误信息如下:
done
--> Loading model
done
--> Building model
Analysing :   0%|                                                         | 0/Analysing :42%|████████████████████▌                            | 59/141
Quantizating :   0%|                                                      | 0/Quantizating :15%|██████▊                                       | 21/141
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

hippo444 发表于 2021-9-24 15:09:23

运行的是onnx的resnet50v2范例,只改ret = rknn.init_runtime(target='rk3566', device_id='b5a3b7e8334fce69')

ren18022443868 发表于 2021-12-2 14:25:10

hippo444 发表于 2021-9-24 15:09
运行的是onnx的resnet50v2范例,只改ret = rknn.init_runtime(target='rk3566', device_id='b5a3b7e8334fce ...

请问下,问题解决了吗?我也是有这个问题
页: [1]
查看完整版本: 使用rk3566搭配rknntoolkit2出现:RKNN_ERR_DEVICE_UNAVAILABLE