Tensorrt7 parse error

Using onnx=1.6.0 i can generate the .onnx file successfuly.
And I can export the engine using tnesorrt=6.0 , However when change the tensorrt to 7, the trt.OnnxParser not work, the network.num_layers is zeros.

Hi,
Can you provide the following information so we can better help?
Provide details on the platforms you are using:
o Linux distro and version
o GPU type
o Nvidia driver version
o CUDA version
o CUDNN version
o Python version [if using python]
o Tensorflow version
o TensorRT version
o If Jetson, OS, hw versions

Also, if possible please share the script and model file to reproduce the issue.

Thanks

hi:

o Linux distro and version:centos7.2
o GPU type:v100
o Nvidia driver version:410.48
o CUDA version:10.0
o CUDNN version:7.6
o Python version [if using python]:3.6/2.7
o Tensorflow version:1.14
o TensorRT version:7
o If Jetson, OS, hw versions:No

Hi,

The ONNX parser supports full-dimensions mode only. Your network definition must be created with the explicitBatch flag set (when using ONNX parser)
Please refer to below link for more details:
https://docs.nvidia.com/deeplearning/sdk/tensorrt-release-notes/tensorrt-7.html

Thanks

Related: https://github.com/NVIDIA/TensorRT/issues/283