You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@d-michele
According to the theory of WGAN and WGAN-GP, the Wasserstein distance is calculated using the output of the discriminator. And, a sigmoid function is not utilized at the end of the discriminator. Therefore, when calculating the gradient penalty from the discriminator, there is also no sigmoid function.
WGAN-GP-tensorflow/src/wgan_gp.py
Line 94 in 9f27dd9
Hi, I would ask you an explanation of why did you calculate the gradient on the sigmoid instead of logits. Thanks!
The text was updated successfully, but these errors were encountered: