I Want To Install TensorRT on my System and Convert TensorFlow SSD-Mobilenet to the TensorRT model for performance improvement.
I Followed Step by Step Installation Guild in Nvidia Documentation but when I want to install python3-libnvinfer-dev and python3-libnvinvfer package with:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
a distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python3-libnvinfer : Depends: python3 (< 3.7) but 3.8.2-0ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.
I Try to Install This By Python 3.7 but still get this Error!!
how can I Solve this problem?
TensorRT Version: 8.4 GPU Type: GTX 1080 Ti CUDA Version: 10.1 Operating System + Version: Ubuntu 20.04 Python Version (if applicable): Python3.7 - Python3.8 TensorFlow Version (if applicable): 2.11.0
Thank’s a lot for your reply by Topic
There are multiple Python versions installed on my Ubuntu OS
2.7 - 3.7 - 3.8
which one do you think should I keep?
I Can’t Uninstall the 2.7 version because I think some apps and features depend on this version of python.
and one more question, can I use TensorRT and Convert my Tensorflow SSD mobile net to the TensorRT model?
seems like TensorRT 8.5.3 does not exist for Ubuntu 20.04 and CUDA 10.2 or 10.1
yes seems right, the installation guide is not explicitly updated for news tensorflow versions.
but now I don’t know how to solve this problem, just trying these commands randomly and (again and again) finally it works…
I don’t think I can do this one more time on another jetson because I don’t remember anything…
@spolisetty Can you please provide a summary of the main steps? I am running from the Ubuntu machine 20.04 on the Netherlands SURF Research Cloud. There is only the Jupyter Lab and the console. I will create the new post shortly.
Also which of these guides would you recommend to follow first?
At this stage, I am downloading the .deb files and then transferring to my Virtual Machine where I am running the commands to try to set up.
My main objective is to try to get TensorFlow to work with the GPU mode. The GPU drivers are already installed from the setup which SURF provides.
@Hamzeh.nv Yes, I agree. The same challenge you are describing I am experiencing. When something fails its just the running of random commands because the guide does not seem to provide everything. I really need some assistance here.