A clear and concise description of the bug or issue.


TensorRT Version:
GPU Type:
Nvidia Driver Version:
CUDA Version:
CUDNN Version:
Operating System + Version:
Python Version (if applicable):
TensorFlow Version (if applicable):
PyTorch Version (if applicable):
Baremetal or Container (if container which image + tag):

Relevant Files

Please attach or include links to any models, data, files, or scripts necessary to reproduce your issue. (Github repo, Google Drive, Dropbox, etc.)

Steps To Reproduce

Please include:


UFF and Caffe Parser have been deprecated from TensorRT 7 onwards, hence request you to try ONNX parser. Please convert your model to ONNX and then try to build a TRT engine.

Also, we recommend you to please use the latest TensorRT version.


I use TensorRT5 from onnx to engine.Is this problem related to the trt version?

I am h5 to pb, pb to uff, uff to engine.


We recommend you to please convert keras(h5) model to ONNX. Using,

Then please convert ONNX model to TensorRT engine.

Looks like you’re using TensorRT 5.Which is very older version. We recommend you to please upgrade TensorRT version to the latest version for better performance.

Thank you.