-
Notifications
You must be signed in to change notification settings - Fork 766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dcgan loss #10
Comments
@eyaler exactly my doubt |
yeah... you can change self.AM.add(self.discriminato() in adversarial_model() to this:
You'll get a warning but the discriminator will be frozen for I verified the change with this instrumentation code:
|
you're right. we should freeze discriminator |
in
https://github.com/roatienza/Deep-Learning-Experiments/blob/master/Experiments/Tensorflow/GAN/dcgan_mnist.py
you compute the generator loss as:
a_loss = self.adversarial.train_on_batch(noise, y)
but this also trains the discriminator using only the fake samples.
shouldn't you freeze the discriminator weights for this part?
The text was updated successfully, but these errors were encountered: