researchmm / AOT-GAN-for-Inpainting

[TVCG'2023] AOT-GAN for High-Resolution Image Inpainting (codebase for image inpainting)
https://arxiv.org/abs/2104.01431
Apache License 2.0
425 stars 68 forks source link

Update loss.py #11

Closed tree-sun closed 1 year ago

tree-sun commented 1 year ago

After reading your paper, I don't quite understand one places in your code, here are my thoughts. 1 "d_real_label = torch.zeros_like(d_real).cuda()" changed to "d_real_label = torch.ones_like(d_real).cuda()" If my thinking is wrong, I hope you can point it out. thanks