Firefly开源社区

标题: rk3568 Linux环境下 npu初始化环境失败 [打印本页]

作者: wx_Kiwi_Bid    时间: 2021-11-17 14:24
标题: rk3568 Linux环境下 npu初始化环境失败
服务开启了,lib更新还是报错



--> Init runtime environment
*************************
all device(s) with adb mode:
d0f685c761819928
*************************
I NPUTransfer: Starting NPU Transfer Client, Transfer version 2.1.0 (b5861e7@2020-11-23T11:50:36)
D RKNNAPI: ==============================================
D RKNNAPI: RKNN VERSION:
D RKNNAPI:   API: 1.1.0 (e3000ff build: 2021-08-19 18:03:18)
D RKNNAPI:   DRV: rknn_server: 1.1.0 (6d07b2c build: 2021-08-13 16:36:52)
D RKNNAPI:   DRV: rknnrt: 1.1.0 (8a9d6f66@2021-08-19T15:09:11)
D RKNNAPI: ==============================================
E RKNNAPI: rknn_init,  send(MsgLoad) fail, -9(ERROR_PIPE) != 26367924!
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 2553, in rknn.api.rknn_base.RKNNBase.init_runtime
E init_runtime:   File "rknn/api/rknn_runtime.py", line 367, in rknn.api.rknn_runtime.RKNNRuntime.build_graph
E init_runtime: Exception: RKNN init failed. error code: RKNN_ERR_DEVICE_UNAVAILABLE
Init runtime environment failed

作者: Liuth    时间: 2021-11-18 15:56
你这个应该是rknn_server没有正常运行
使用rknn SDK里面的最新rknn_server和库文件
librknn_api.so  librknnrt.so这俩个放在板子的/usr/lib/下
rknn_server放在板子/usr/bin/下
运行:
./rknn_server




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1