ajbrock / BigGAN-PyTorch

The author's officially unofficial PyTorch BigGAN implementation.
MIT License
2.84k stars 470 forks source link

Hinge loss of generator #60

Open yfji opened 4 years ago

yfji commented 4 years ago

Hi! Thanks for your great work! I have a question about the hinge loss of the generator(line 28 in losses.py). It seems that this may cause negative loss and it is actually negative on my own task(same loss but not this task). There's also such occasion when the generator loss is negative in WGAN-GP. How to explain the negative loss?

matteo-pennisi commented 2 years ago

+1