Toybrick

标题: Ubuntu在线预编译报错 [打印本页]

作者: aijle1981    时间: 2021-9-3 16:51
标题: Ubuntu在线预编译报错
请问一下,ubuntu在线预编译报错,可能是什么问题,rknn-toolkit 1.6,板子驱动版本1.6
D Start adb...
D Connect to Device success!
I NPUTransfer: Starting NPU Transfer Client, Transfer version 2.1.0 (b5861e7@2020-11-23T11:50:36)
D NPUTransfer: Transfer spec = local:transfer_proxy
D NPUTransfer: ERROR: socket read fd = 3, n = -1: Connection reset by peer
D NPUTransfer: Transfer client closed, fd = 3
E RKNNAPI: rknn_init,  driver open fail!  ret = -9(ERROR_PIPE)!
E Catch exception when init runtime!
E Traceback (most recent call last):
E   File "rknn/api/rknn_base.py", line 884, in rknn.api.rknn_base.RKNNBase.init_runtime
E   File "rknn/api/rknn_runtime.py", line 341, in rknn.api.rknn_runtime.RKNNRuntime.build_graph
E Exception: RKNN init failed. error code: RKNN_ERR_DEVICE_UNAVAILABLE


作者: aijle1981    时间: 2021-9-9 18:13
我自己回答下
看板子上面有没有/usr/bin/rknn_server,没有的话拷贝external/rknpu/drivers/linux-armhf-puma/usr到板子,然后手工运行/usr/bin/start_rknn.sh




欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3