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
You are right, I do save the model and not the parameters. Is it a wrong usage? I think both methods should work. I feel a little safer saving the actual model. It can be used to reconstruct the original model files in case of refactoring.
I am not sure whether it is right or not; I have always only saved the parameters. However the problem here lies with the Rfft class in pytorch_fft (and I suspect that all the other FFT variants in pytorch_fft have the same problem); perhaps you should open an issue with pytorch_fft. If the issue is fixed in pytorch_fft, it should work without any change to this repo.
How do you save and load the model, I'm using
torch.save
, which cause the following error:The text was updated successfully, but these errors were encountered: