semantic-segmentation-pytorch icon indicating copy to clipboard operation
semantic-segmentation-pytorch copied to clipboard

When trying to export to ONNX, export fails on adaptive_avg_pool2d

Open pranay731 opened this issue 4 years ago • 2 comments

I am trying to convert the models to onnx but the export fails with error

UserWarning: ONNX export failed on adaptive_avg_pool2d because output size that are not factor of input size not supported warnings.warn("ONNX export failed on " + op + " because " + msg + " not supported")

I tried exporting with ONNX_ATEN_FALLBACK and opset version 9 as well as 11, but same error occurs.

pranay731 avatar Jul 23 '20 07:07 pranay731