Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting the operator 'aten::_upsample_bilinear2d_aa' to ONNX opset version 17 is not supported #17

Closed
yang2021 opened this issue Jun 21, 2024 · 2 comments

Comments

@yang2021
Copy link

raise errors.UnsupportedOperatorError(

torch.onnx.errors.UnsupportedOperatorError: Exporting the operator 'aten::_upsample_bilinear2d_aa' to ONNX opset version 17 is not supported. Please feel free to request support or submit a pull request on PyTorch GitHub: https://github.com/pytorch/pytorch/issues.
============= Diagnostic Run torch.onnx.export version 2.0.1+cu118 =============
verbose: False, log level: Level.ERROR
======================= 0 NONE 0 NOTE 0 WARNING 1 ERROR ========================
ERROR: missing-standard-symbolic-function

Exporting the operator 'aten::_upsample_bilinear2d_aa' to ONNX opset version 17 is not supported. Please feel free to request support or submit a pull request on PyTorch GitHub: https://github.com/pytorch/pytorch/issues.
None

导出onnx模型时报错,这个怎么解决

@xiuqhou
Copy link
Owner

xiuqhou commented Jun 21, 2024

请将base_detector.py第70行的antialias参数设置为False再进行导出

@yang2021
Copy link
Author

@xiuqhou 谢谢 已成功解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants