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

convert to onnx error #11

Open
sailorbj opened this issue Jan 29, 2021 · 5 comments
Open

convert to onnx error #11

sailorbj opened this issue Jan 29, 2021 · 5 comments

Comments

@sailorbj
Copy link

sailorbj commented Jan 29, 2021

Thanks for the great work.
When I tried to convert the model to onnx to measure exec time, there is an error. It seems onnx does not support atan2?
How to solve this problem?

RuntimeError: Exporting the operator atan2 to ONNX opset version 11 is not supported. Please open a bug to request ONNX export support for the missing operator.

@sailorbj sailorbj changed the title convert 仝 convert to onnx error Jan 29, 2021
@shimdx
Copy link

shimdx commented Feb 3, 2021

I am also having the same error when I am trying to convert the model into ONNX.

@sailorbj
Copy link
Author

I am also having the same error when I am trying to convert the model into ONNX.

any progress?

@huyanxin
Copy link
Owner

OK, in our practice, we remove the (i)stft and atan part from the onnx part. Or you can use libtorch, this is also a good way for inference.

@sailorbj
Copy link
Author

OK, in our practice, we remove the (i)stft and atan part from the onnx part. Or you can use libtorch, this is also a good way for inference.

Thanks.

@yudashuixiao1
Copy link

OK, in our practice, we remove the (i)stft and atan part from the onnx part. Or you can use libtorch, this is also a good way for inference.

请问你导onnx的时候,用的pytorch和对应onnx什么版本的,以及对应的opset_version是多少。 谢谢

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

4 participants