|
7#
楼主 |
发表于 2021-12-17 10:31:02
|
只看该作者
本帖最后由 cdzs_3411 于 2021-12-17 10:32 编辑
rk1808M0 使用 https://t.rock-chips.com/wiki.ph ... /TB-RK1808S0#hash_7 中的共享网络的方法始终无法联网,但 rk1808S0是OK的,升级到最新版本的 rk1808S0 编译运行 C 的 api 示例代码依然报同样的错:
》python可以正常跑
--> Loading rknn model
--> Init runtime environment
I NPUTransfer: Starting NPU Transfer Client, Transfer version 2.1.0 (b5861e7@2020-11-23T11:50:51)
D RKNNAPI: ==============================================
D RKNNAPI: RKNN VERSION:
D RKNNAPI: API: 1.7.1 (566a9b6 build: 2021-10-28 14:56:17)
D RKNNAPI: DRV: 1.7.0 (7880361 build: 2021-08-16 16:16:21)
D RKNNAPI: ==============================================
done
--> Running model
infer time: 0.12665486335754395s
》C 样例代码依然报错:
rocktech@rocktech:~/work/rknn_api_v171/examples/rknn_ssd_demo/build$ ./rknn_ssd_demo ../model/ssd_inception_v2_rk180x.rknn ../model/road.bmp
Loading model ...
ERROR: can't find librknn_runtime.so
rknn_init fail! ret=-3
rocktech@rocktech:~/work/rknn_api_v171/examples/rknn_ssd_demo/build$ ldd ./rknn_ssd_demo
linux-vdso.so.1 => (0x0000007fb78e2000)
librknn_api.so => /home/rocktech/work/rknn_api_v171/examples/rknn_ssd_demo/../../librknn_api/lib64/librknn_api.so (0x0000007fb78a5000)
libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000007fb7878000)
libstdc++.so.6 => /usr/lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000007fb76e3000)
libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000007fb7636000)
libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000007fb7615000)
libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007fb74ce000)
/lib/ld-linux-aarch64.so.1 (0x0000007fb78b7000)
rocktech@rocktech:~/work/rknn_api_v171/examples/rknn_ssd_demo/build$
|
|