TensorRT icon indicating copy to clipboard operation
TensorRT copied to clipboard

Resize when Antialias=True seems not working

Open david-PHR opened this issue 1 year ago • 7 comments

Description

Compiling a TensorRT model from an ONNX IR containing Resize operators with Antialias=1 does not apply the antialiasing. Does antialias is supported in the TensorRT resize operator?

Environment

TensorRT Version: 8.6

Example of ONNX with resize and antialias

david-PHR avatar Dec 18 '23 08:12 david-PHR

I have a vague memory that we only support onnx opset up to 17, let me check this.

zerollzeng avatar Dec 20 '23 12:12 zerollzeng

Thanks! If this is the case it would be great to have a clear message that indicates if an ONNX attributes is not supported by the ONNX2TensorRT driver

david-PHR avatar Dec 20 '23 15:12 david-PHR

Oh sorry we support opset 18&19. but only partially support. I'll file feature request for this for you :-)

zerollzeng avatar Dec 21 '23 02:12 zerollzeng

Do you mean that you will fill a feature request to support antialias mode in resize?

david-PHR avatar Dec 21 '23 10:12 david-PHR

Hello, any news on supporting Antialiasing in the resize operators? Else, would you have a plugin example to share?

david-PHR avatar Jan 22 '24 16:01 david-PHR

Checking internally.

zerollzeng avatar Jan 27 '24 08:01 zerollzeng

TensorRT 10.0.1.6 does not support as well: (antialias == 0) && "Antialiasing is not supported currently.

scottcali avatar Jun 01 '24 23:06 scottcali