SinGAN icon indicating copy to clipboard operation
SinGAN copied to clipboard

question about the loss

Open XiaoHao-Chen opened this issue 6 years ago • 1 comments

Why is the output of patch-d the average value of all patches, rather than the cross entropy of biclassification calculated by BCELoss, like the common patch-gan?

XiaoHao-Chen avatar Dec 25 '19 11:12 XiaoHao-Chen

This is a WGAN, so no cross-entropy loss is used. You can find more details regarding the training scheme of WGAN at the paper "Improved Training of Wasserstein GANs" by Gulrajani et. al: https://arxiv.org/pdf/1704.00028.pdf (Generally, we follow this)

tamarott avatar Jan 26 '20 13:01 tamarott