You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this in a model and when I try to export the model to onnx, I get: Missing key(s) in state_dict: "model_g.dec.stft.forward_basis", "model_g.dec.stft.inverse_basis".
If I change the lines below to persistent=False, the export works... But I'm not sure if this will have any effect that I can't foresee as this persistent flag is not clear to me.
Hi!
Thanks for this work!
I'm using this in a model and when I try to export the model to onnx, I get:
Missing key(s) in state_dict: "model_g.dec.stft.forward_basis", "model_g.dec.stft.inverse_basis".
If I change the lines below to persistent=False, the export works... But I'm not sure if this will have any effect that I can't foresee as this persistent flag is not clear to me.
Would you please tell me if this is acceptable?
Thank you!
torch-stft/torch_stft/stft.py
Line 53 in 193ad6a
and
torch-stft/torch_stft/stft.py
Line 54 in 193ad6a
to:
The text was updated successfully, but these errors were encountered: