I encountered this error when I exported faster-rcnn.
fp32 is success. But fp16 is failed.
Seems that the gpu inside your host PC does not support fp16. See more in https://docs.nvidia.com/deeplearning/tensorrt/support-matrix/index.html#hardware-precision-matrix and https://developer.nvidia.com/cuda-gpus