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

RuntimeError: Exporting the operator roll to ONNX opset version 11 is not supported. Please feel free to request support or submit a pull request on PyTorch GitHub. #693

Closed
cjt222 opened this issue Jul 12, 2021 · 5 comments
Assignees

Comments

@cjt222
Copy link

cjt222 commented Jul 12, 2021

RuntimeError: Exporting the operator roll to ONNX opset version 11 is not supported. Please feel free to request support or submit a pull request on PyTorch GitHub.
swin_transformer转onnx的时候,roll算子不支持

@Junjun2016
Copy link
Collaborator

Hi @grimoire and @AllentDan
Please have a look.

@grimoire
Copy link
Member

Hi,
I have added PR about torch.roll support in MMCV. open-mmlab/mmcv#1194
See if this can help you. Note that it has only been tested on ONNXRUNTIME.

@Junjun2016
Copy link
Collaborator

Thx @grimoire !

@cjt222
Copy link
Author

cjt222 commented Jul 16, 2021

ModuleNotFoundError: No module named 'mmcv._ext'
@grimoire 安装你的repo的mmcv,然后去转onnx,发现报了这个错,请问是什么问题?

@AllentDan
Copy link
Member

@cjt222. Seems you have not compiled the project from source.
Refer to onnxruntime and tensorrt for plugin usage.

aravind-h-v pushed a commit to aravind-h-v/mmsegmentation that referenced this issue Mar 27, 2023
* Fix BibText citation

* Update README.md
sibozhang pushed a commit to sibozhang/mmsegmentation that referenced this issue Mar 22, 2024
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

5 participants