deep-image-prior
deep-image-prior copied to clipboard
Error inpainting for CUDA
Hi,
In inpainting.ipynb
the loss is NAN
from the beginning.
However, if I turn off cuda:
torch.backends.cudnn.enabled = False
torch.backends.cudnn.benchmark = False
dtype = torch.FloatTensor
All the loss is right. I was using RTX 3070 Ti, cuda 9.0.
Why the loss turns into 'nan' when running on GPU? Please help me with this problem.