|
在rk3399pro debian10系统上,通过usb3.0接上rk1808计算棒,计算棒处于被动模式,在pc上测试计算棒可以正常使用。但是接到rk3399pro上时,修改了设备节点的权限,运行py文件的时候报错,错误信息如下:
W Verbose file path is invalid, debug info will not dump to file.
=====>RKNN period: 6.807818651199341
=====>load rknn period: 0.0019011497497558594
*************************
all device(s) with ntb mode:
0123456789ABCDEF,TS018083200400993
*************************
--->init runtime
D target set by user is: rk1808
D Host is RK3399PRO
D Starting ntp or adb, target is RK1808, host is RK3399PRO
I Device [TS018083200400993] use ntb.
D Start ntp...
I npu_transfer_proxy pid: 667, status: sleeping
D NPUTransfer: efuseid = 3399:ca9c6d92bdc953a2
I NPUTransfer: Starting NPU Transfer Client, Transfer version 2.0.0 (8f9ebbc@2020-04-03T09:12:43)
D NPUTransfer: Transfer spec = local:transfer_proxy
D NPUTransfer: Transfer client closed, fd = 9
D NPUTransfer: efuseid = 3399:ca9c6d92bdc953a2
I NPUTransfer: Starting NPU Transfer Client, Transfer version 2.0.0 (8f9ebbc@2020-04-03T09:12:43)
D NPUTransfer: Transfer spec = local:transfer_proxy_59a190f8
D NPUTransfer: Transfer interface successfully opened, fd = 9
E RKNNAPI: rknn_init, msg_load_ack fail, ack = 1(ACK_FAIL), expect 0(ACK_SUCC)!
E RKNNAPI: ==============================================
E RKNNAPI: RKNN VERSION:
E RKNNAPI: API: 1.4.0 (b4a8096 build: 2020-08-12 10:16:10)
E RKNNAPI: DRV: 1.4.0 (b4a8096 build: 2020-09-14 11:15:57)
E RKNNAPI: ==============================================
D NPUTransfer: Transfer client closed, fd = 9
E Catch exception when init runtime!
E Traceback (most recent call last):
E File "rknn/api/rknn_base.py", line 1154, in rknn.api.rknn_base.RKNNBase.init_runtime
E File "rknn/api/rknn_runtime.py", line 356, in rknn.api.rknn_runtime.RKNNRuntime.build_graph
E Exception: RKNN init failed. error code: RKNN_ERR_MODEL_INVALID
E Current device id is: TS018083200400993
E Devices connected:
E ['0123456789ABCDEF', 'TS018083200400993']
Init runtime environment failed
麻烦碰到过的朋友给指点一下,谢谢!
|
|