I decided to explore the DRIVE SDK on my Ubuntu host PC. I installed the complete DRIVE SDK on the Ubuntu host PC using the most recent DriveInstall 22.214.171.124bL. Post installation, I again launched the installer and verified that all components were showing as “Installed”.
Now, I am following a recent NVIDIA webinar on conversion of TensorFlow model to TensorRT (https://github.com/NVIDIA-Jetson/tf_to_trt_image_classification). I understand that this workflow is supposed to be done on the Jetson TX2 kit, but I assume that I should be able to replicate the creation of the inference engine on my Ubuntu host PC too. The project requires both OpenCV and TensorFlow, which are not bundled with the Drive SDK; I installed those separately.
My problem is that I am not able to refer to the installed TensorRT component on my Ubuntu host PC. I do have a folder named “tensorrt” in the path /usr/local/nvidia/, with all relevant files. But when I try to build my project as per the README in the link shared above, I get an error saying “NvInfer.h: no such file or directory”. If I plow on somehow, it throws further errors for missing nvinfer and nvparsers libraries, even though they are present on my PC. Referring to another forum post, I tried “dpkg -l | grep tensorrt” on the shell, but it did not return any information.
I could have posted this under the Jetson forum, but since the TensorRT was installed on my PC with DriveInstall, I decided to post here. If anyone has faced a similar situation, please let me know how you resolved it.