[PYTHON] I installed tensorRT on Ubuntu 18.04

When I installed CUDA 10.1 + cuDNN 7.6.5 on Ubuntu 18.04 and tried to use it with tensorflow-GPU 2.1, I got a warning message that libnvinfer6 could not be read when import tensorflow was performed.

This seems to be a warning that the function cannot be fully used because tensorRT is not included, so I installed tensorRT.

In addition, the procedure of Step 3 here is the same. https://ddkang.github.io/2019/09/19/installing-tensorrt.html

procedure

Download the TensorRT installer deb file from the following site https://developer.nvidia.com/nvidia-tensorrt-6x-download

Execute the dropped deb file with dpkg. Below, tensorRT6.0.1.5 for cuda 10.1 is installed with the deb file in the current directory.

terminal


sudo dpkg -i nv-tensorrt-repo-ubuntu1804-cuda10.1-trt6.0.1.5-ga-20190913_1-1_amd64.deb
sudo apt update
sudo apt install tensorrt libnvinfer6

This is what I got in my environment

Recommended Posts

I installed tensorRT on Ubuntu 18.04
I installed ROS on Ubuntu 18.04
I installed TensorFlow (GPU version) on Ubuntu
Remove ubuntu installed on Windows 10 machine
[Linux] I installed CentOS on VirtualBox
I tried Cython on Ubuntu on VirtualBox
I couldn't input Japanese on Ubuntu 20.04
I installed Linux on my Mac
I installed Ubuntu on a USB stick on a dual boot PC
I installed FreeCAD on Linux (Ubuntu) and created an icon
[Super rudimentary] I installed GDAL on Anaconda
RTKLIB 2.4.3 CLI version GUI version installed on Ubuntu 18.04
Shebang on Ubuntu 20.04
I stumbled upon installing sentencepiece on ubuntu
I installed Kivy on a Mac environment
I installed OpenCV-Python on my Raspberry Pi
I can't install Dask with pip on Ubuntu
[Streamlit] I installed it
Install PySide2 on Ubuntu
Install JModelica on Ubuntu
build Python on Ubuntu
Install Python 3.3 on Ubuntu 12.04
Installing pyenv on ubuntu 16.04
Install Theano on Ubuntu 12.04
Install angr on Ubuntu 18.04
Install pip / pip3 on Ubuntu
I got a UnicodeDecodeError when pip install on ubuntu
I made a Python3 environment on Ubuntu with direnv.
I want to use OpenJDK 11 on Ubuntu Linux 18.04 LTS / 18.10
Run Jupyter on Ubuntu on Windows
Use matplotlib on Ubuntu 12 & Python
SoftwareRAID 0 on SereneLinux (Ubuntu 18.04 Desktop)
USB Wifi on Ubuntu 20.04LTS
Set matplotlib font on ubuntu
I installed the automatic machine learning library auto-sklearn on centos7
Where I stumbled on SQLite3
Put Python 3.x on Ubuntu
Rebuild kernel on Ubuntu 20.04 (on Azure)
Operate ubuntu on VScode (windows10)
Create command shortcuts on Ubuntu 16.04
Install GoLand IDE on Ubuntu
Display GUI messages on Ubuntu
Install OpenCV on Ubuntu + python
wsl Install PostgreSQL on Ubuntu 18.04
Introducing TensorFlow on Ubuntu + Python 2.7
63rd day I installed tensorflow.
[ROS] Install ROS (melodic) on Ubuntu (18.04)
Install Caffe on Ubuntu 14.04 (GPU)
I ran python on windows
Install Docker on WSL Ubuntu 18.04
I tried MLflow on Databricks
Day 65 I installed matplotlib to draw graphs on my Jupyter notebook.
I installed Taiga.IO on CentOS7 (I made a script while I was there)
I tried playing Windows games using Steam Play on Ubuntu 20.04 LTS
I tried AdaNet on table data
Install CUDA10.1 + cuDNN7.6.5 + tensorflow-2.3.0 on Ubuntu 18.04
Install Python 3.8 on Ubuntu 18.04 (OS standard)
Python 3.4 pyvenv fails on Ubuntu 14.04 LTS
Changed partition mount point on Ubuntu
Install Caffe on Ubuntu 14.04 (CPU mode)
Prepare Python development environment on Ubuntu