-
Notifications
You must be signed in to change notification settings - Fork 48
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
pytorch 1.8.1 has a problm: module ‘torch‘ has no attribute "rfft" #54
Comments
I use RTX 3090, the CUDA is 11.3 |
Since pytorch>1.7, there has been a redesign of the torch.fft interface. Fourier transform functions such torch.rfft() are now available under different function calls such as torch.fft.rfft(). Here is the documentation. The v2 branch of the torch radon library reflects these changes. |
Thanks a lot. |
ffted = torch.rfft(input, 1, onesided=False) to ffted = torch.view_as_real(torch.fft.fft(input, dim=1)) |
Okay, thank you very much. I'll give it a try. |
pytorch 1.8.1 has a problm: module ‘torch‘ has no attribute "rfft"
The text was updated successfully, but these errors were encountered: