vishal3477 / Reverse_Engineering_GMs

Official Pytorch implementation of paper "Reverse Engineering of Generative Models: Inferring Model Hyperparameters from Generated Images"
132 stars 18 forks source link

torch.rfft is deprecated #7

Closed ssablak closed 2 years ago

ssablak commented 2 years ago

@vishal3477 Since rfft is deprecated in the newer torch versions. It gives the following error. rfft

I tried to fix it, but it starts to give an error as rfft2error

Could you please help me how to define rfft in the newer version of pytorch? Thanks. -Steve

vishal3477 commented 2 years ago

Hi, I'm really sorry, the code was written for pytorch 1.5.0. I can try to write the rfft function for new version of pytorch but it may take a while. Till then, can you please try by downgrading your pytorch version. Thanks!

vishal3477 commented 2 years ago

If your issue is solved, I'll close the issue.