TensorRT5.1 uff parser error

Custom Plugin DataFormat conflict

I use custome plugin (resizeNearnest_TRT), when uff parser parsing a concat layer,raised a error;
info of concat:
input:resizeNearNest ( NCHW format );
input:con2d/bias (NHWC transposed to from NCHW by unnamed layer )

different data format raised error;

but when I insert a transpose layer in my uff file another error happed:

so Is this a bug? Why unnamed layer happend,how to solve this problem?

Environment

TensorRT Version: 5.1.2.2
GPU Type: 960m
Nvidia Driver Version: 419.67
CUDA Version: 9.0.176
CUDNN Version: 7.4
Operating System + Version: win10
Python Version (if applicable): 3.6.5
TensorFlow Version (if applicable): 1.10
PyTorch Version (if applicable): None
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:

  • Exact steps/commands to build your repro
  • Exact steps/commands to run your repro
  • Full traceback of errors encountered

Hi @328236188,
UFF Parser has been deprecated from TRT 7 onwards, hence we recommend you to try pb <<ONNX <<TRT conversion.
Also this is recommended to use the latest TRT version.
https://developer.nvidia.com/nvidia-tensorrt-7x-download

Thanks!