tamarott / SinGAN

Official pytorch implementation of the paper: "SinGAN: Learning a Generative Model from a Single Natural Image"
https://tamarott.github.io/SinGAN.htm
Other
3.31k stars 611 forks source link

Fix for PyTorch 1.6 #117

Closed sweihub closed 3 years ago

sweihub commented 4 years ago

Please kindly review and merge the fix for pytorch 1.6

tamarott commented 3 years ago

Thank you. Using fake.detach() is wrong, as explained above. I'm checking another way to work this out.