Convert Lanenet model to TensorRT and run inference in c++

Hi, I have trained my own lanenet model (https://github.com/MaybeShewill-CV/lanenet-lane-detection) with tensorflow. I was also able to convert the tensorflow checkpoint to UFF model. Now I would like to use TensorRF to load the UFF model and run inference in my c++ program on Xavier. Is there any examples for how to write c++ program to load UFF and run inference?

Hi,

YES, there are some example in our TensorRT folder.

Ex.

/usr/src/tensorrt/samples/sampleUffMNIST/
/usr/src/tensorrt/samples/sampleUffPluginV2Ext/
/usr/src/tensorrt/samples/sampleUffSSD/

Thanks.