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

Does everyone know how to fix this runtime error? #161

Open Philip-PKU opened 2 years ago

Philip-PKU commented 2 years ago
image
n-92 commented 2 years ago

Go to functions.py and add the line below at the top after the imports. torch.autograd.set_detect_anomaly(True)

n-92 commented 2 years ago

Also refer to this thread if you encounter one more error after executing the previous step. #108

WZLHQ commented 2 years ago

select pytorch version of 1.6 (maybe!)