tensorflow.python.framework.errors_impl.NotFoundError: libnvinfer.so.5: cannot open shared object fi
Eclipse在使用Tensorflow-CUDA10 的時(shí)候,出現(xiàn)錯(cuò)誤;
參考鏈接:https://blog.csdn.net/qq_20373723/article/details/80065936
官方文檔:https://docs.nvidia.com/deeplearning/sdk/tensorrt-install-guide/index.html#downloading
安裝時(shí)候出現(xiàn)庫(kù)的錯(cuò)誤,使用sudo apt-get -f install? ,然后 sudo apt-get install tensorrt ,自動(dòng)下載幾Mb文件,安裝成功!
?
If using Python 3.x: $ sudo apt-get install python3-libnvinfer-dev The following additional packages will be installed: python3-libnvinfer?
If you plan to use TensorRT with TensorFlow: $ sudo apt-get install uff-converter-tf The graphsurgeon-tf package will also be installed with the above command.?
You should see something similar to the following:wishchin@wishchin-HP-ENVY-Laptop-13-ad1xx:~/下載$ dpkg -l | grep TensorRT
ii? graphsurgeon-tf???????????????????????????????????????????? 5.0.2-1+cuda10.0????????????????????????????? amd64??????? GraphSurgeon for TensorRT package
ii? libnvinfer-dev????????????????????????????????????????????? 5.0.2-1+cuda10.0????????????????????????????? amd64??????? TensorRT development libraries and headers
ii? libnvinfer-samples????????????????????????????????????????? 5.0.2-1+cuda10.0????????????????????????????? all????????? TensorRT samples and documentation
ii? libnvinfer5???????????????????????????????????????????????? 5.0.2-1+cuda10.0????????????????????????????? amd64??????? TensorRT runtime libraries
ii? python3-libnvinfer????????????????????????????????????????? 5.0.2-1+cuda10.0????????????????????????????? amd64??????? Python 3 bindings for TensorRT
ii? python3-libnvinfer-dev????????????????????????????????????? 5.0.2-1+cuda10.0????????????????????????????? amd64??????? Python 3 development package for TensorRT
ii? tensorrt??????????????????????????????????????????????????? 5.0.2.6-1+cuda10.0??????????????????????????? amd64??????? Meta package of TensorRT
ii? uff-converter-tf??????????????????????????????????????????? 5.0.2-1+cuda10.0????????????????????????????? amd64??????? UFF converter for TensorRT package
?
App Server Installation: When setting up servers which will host TensorRT powered applications, you can simply install any of the following:
- the libnvinfer5 package (C++), or
- the python-libnvinfer package (Python 2.7), or
- the python3-libnvinfer package (Python 3.x).
Issue the following commands if you want to run an application that was built with TensorRT using the Debian package, for example:
$ sudo dpkg -i nv-tensorrt-repo-ubuntu1x04-cudax.x-trt5.1.x.x-ga-yyyymmdd_1-1_amd64.deb $ sudo apt-key add /var/nv-tensorrt-repo-cudax.x-trt5.1.x.x-ga-yyyymmdd/7fa2af80.pub$ sudo apt-get update $ sudo apt-get install libnvinfer5
?
?
?
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎(jiǎng)勵(lì)來咯,堅(jiān)持創(chuàng)作打卡瓜分現(xiàn)金大獎(jiǎng)總結(jié)
以上是生活随笔為你收集整理的tensorflow.python.framework.errors_impl.NotFoundError: libnvinfer.so.5: cannot open shared object fi的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: SGLTE,CSFB介绍
- 下一篇: python/numpy将矩阵保存为文本