First, you’re going to be implementing the discriminator loss. This is the same as in previous assignments, so it should be a breeze Don’t forget to detach your generator!
Well, the fact that it was twice the value should be suggestive : in the previous assignments the discriminator loss is the average of the two losses (on the real and fake images), all the way back to the first assignment in C1 W1. Here’s the relevant entry in the docstring for get_disc_loss in the C1 W1 Your First GAN assignment:
# 4) Calculate the discriminator's loss by averaging the real and fake loss
# and set it to disc_loss.