profile
viewpoint

Ask questionsAttributeError: module 'torch' has no attribute 'rfft'

I got this error while run main_test_realapplication.py program. The running environment is pytorch 1.8. May I ask how to deal with this problem?

cszn/USRNet

Answer questions cszn

I upload the code to support pytorch version >= 1.8.1 https://github.com/cszn/USRNet/blob/17d80ebd4e8f34ac76612fd660412bf616baf84d/models/network_usrnet_v1.py

useful!

Related questions

No questions were found.
source:https://uonfu.com/
answerer
Kai Zhang cszn CVL, ETH Zurich Zurich, Switzerland https://cszn.github.io/ Image Restoration; Inverse Problems
Github User Rank List