-
Notifications
You must be signed in to change notification settings - Fork 974
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
onnx conversion #539
Comments
To achieve this, I made some effort,here are some possible relevant discussions I found in the community: pytorch/pytorch#49793 But there are some problems:
In order to avoid problems 1 and 2, I tried to rewrite the forward function in the network, so that the stft was executed externally, but I couldn't directly instantiate the model:
And the implementation of that repo is:
My changes have no effect when using a call like this I have tried a lot, but without any progress. |
would be interested as well to get this model in C++, mainly to run the inference faster |
Interested too! |
would be cool if all of us joined forces to get this done :D |
@alexvoina @Achuttarsing have this issue gone further? I am facing same problem |
I didn't pursue this problem further |
❓ Questions
I want to convert the model to onnx and deploy it on the development board. I want to know whether the conversion is similar to the CNN model and can be directly exported through torch.onnx.export.
Looking forward to your reply!
The text was updated successfully, but these errors were encountered: