Machine Learning, Data Science, Artificial Intelligence, Towards Data Science, Deep Learning.
avg_loss_discriminator.append(np.mean(loss_discriminator)) avg_loss_generator.append(np.mean(loss_generator)) plt.plot(range(len(avg_loss_discriminator)), avg_loss_discriminator) plt.plot(range(len(avg_loss_generator)), avg_loss_generator) plt.legend(['discriminator loss', 'generator loss'])