问题:
Uncaught exception detected: Unable to open library: libnvinfer_plugin.so.10 due to libnvinfer_plugin.so.10: cannot open shared object file: No such file or directory
解决,看了网上其它博主的做法,安装cudnn,但我去cuda下面看见了cudann的lib和inculdue都移植进去 了
最后,一步步检查,发现是环境.bashrc问题
设置个临时变量:
export LD_LIBRARY_PATH=/usr/local/TensorRT-10.8.0.43/lib:$LD_LIBRARY_PATH
然后就ok了