semantic-segmentation-pytorch
semantic-segmentation-pytorch copied to clipboard
When trying to export to ONNX, export fails on adaptive_avg_pool2d
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.