binding[x] != nullptr error when infering

Hi I have a model from tf to trt. When I try to infer with it, the next error appears:

ERROR: Parameter check failed at: engine.cpp::enqueue::295, condition: bindings[x] != nullptr

I’ve looked to the bindings and it seems they are right. Could this error be generated by any other thing? Furthermore, it seems that if I infer with the same engine using the python API this error does not appear.


– Some details
Linux distro and version: Ubuntu 18.04
GPU type: GeForce 2080 Ti
Nvidia driver version: 410.72
CUDA version: 10.0
CUDNN version:
Python version: 2.7
Tensorflow version: 1.8
TensorRT version:


to help us debug, can you please share a small repro containing the full c++ source/make, model, and sample input data that demonstrates the error you are seeing. Also, if you could include the python source that shows success would help too.