Reputation: 1
I implemented a GAN model and I would like the discriminator (UNET Discriminator) to compute decision over all pixels and [D(x)]i,j refer to the discriminator decision at pixel (i; j). The original loss in the paper is based on a vanilla Loss, but I would like to use a WGAN-GP loss in my case. How can I implement the below equation in pytorch
Upvotes: 0
Views: 132