TensorRT icon indicating copy to clipboard operation
TensorRT copied to clipboard

onnx and trt infers different results in some shapes

Open congjianting opened this issue 2 years ago • 2 comments

Description

Hi,

i found the results is different in some special shapes when using mmdet proj, the result is 10 pixels shifting in x direction.

the solution is i adjusted param: dict(type='Pad', size_divisor=32), to dict(type='Pad', size_divisor=128), the results are the same.

anyone knowns why?

Environment

TensorRT Version: TensorRT-7.2.1.6 NVIDIA GPU: NVIDIA Driver Version: CUDA Version: CUDNN Version: Operating System: Python Version (if applicable): Tensorflow Version (if applicable): PyTorch Version (if applicable): Baremetal or Container (if so, version):

Relevant Files

Steps To Reproduce

congjianting avatar Sep 07 '22 06:09 congjianting

by the way, the model structure is cascade-res50-fpn-maskrcnn.

congjianting avatar Sep 07 '22 06:09 congjianting

Can you provide a reproduce? btw can you try the latest TRT 8.4?

zerollzeng avatar Sep 07 '22 15:09 zerollzeng

closing since no activity for more than 3 weeks, please reopen if you still have question, thanks!

ttyio avatar Dec 06 '22 02:12 ttyio

something update?

xinlin-xiao avatar Dec 18 '23 08:12 xinlin-xiao