Toybrick
标题:
1808里面rknn_lite.init_runtime()出错
[打印本页]
作者:
goodstudy
时间:
2021-9-28 12:27
标题:
1808里面rknn_lite.init_runtime()出错
>>> ret = rknn_lite.init_runtime(target=None)
E Catch exception when init runtime!
E Traceback (most recent call last):
File "/root/.local/lib/python3.6/site-packages/rknnlite/api/rknn_lite.py", line 142, in init_runtime
async_mode=async_mode, rknn2precompile=rknn2precompile)
File "rknnlite/api/rknn_runtime.py", line 174, in rknnlite.api.rknn_runtime.RKNNRuntime.__init__
File "rknnlite/api/rknn_runtime.py", line 241, in rknnlite.api.rknn_runtime.RKNNRuntime._load_library
File "/usr/lib64/python3.6/ctypes/__init__.py", line 343, in __init__
self._handle = _dlopen(self._name, mode)
OSError: /lib64/libOpenVX.so.1: undefined symbol: gcoVX_EndCAPBUF
rknn-toolkit-lite版本是1.7.0,drv是toybrick-server-1.7.0和1-5-2都试过了。
之前libOpenVX.so被我用
https://github.com/airockchip/rk ... /lib64/libOpenVX.so
替换了,不知道是不是这个原因?
作者:
goodstudy
时间:
2021-9-28 13:46
[root@rk1808 test_rknn]# nm -D /usr/lib64/libOpenVX.so.1 | grep gcoVX_End
U gcoVX_EndCAPBUF
作者:
goodstudy
时间:
2021-9-28 18:10
1.重刷固件.
2.安装rknn-toolkit-lite-1.7.0.
3.dnf update -y
可以了
欢迎光临 Toybrick (https://t.rock-chips.com/)
Powered by Discuz! X3.3