Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#250·Keras-GAN

Why d_loss = 0.5 * np.add(d_loss_real, d_loss_fake) ?

Author: mrgloomCreated Feb 14, 2021Updated Dec 16, 2021

I wonder why it's d_loss = 0.5 * np.add(d_loss_real, d_loss_fake) and not d_loss = np.add(d_loss_real, d_loss_fake)?

https://github.com/eriklindernoren/Keras-GAN/blob/master/gan/gan.py#L123

Source: eriklindernoren/Keras-GAN

View original on GitHubView discussion on GitHub