vishal3477 / Reverse_Engineering_GMs

Official Pytorch implementation of paper "Reverse Engineering of Generative Models: Inferring Model Hyperparameters from Generated Images"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

torch.rfft is deprecated

ssablak opened this issue · comments

@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

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!

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