Skip to content
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

Can you explain the code in this project? #63

Closed
zhangqianhui opened this issue Dec 11, 2016 · 1 comment
Closed

Can you explain the code in this project? #63

zhangqianhui opened this issue Dec 11, 2016 · 1 comment

Comments

@zhangqianhui
Copy link
Contributor

if np.mod(counter, 100) == 1: if config.dataset == 'mnist': samples, d_loss, g_loss = self.sess.run( [self.sampler, self.d_loss, self.g_loss], feed_dict={self.z: sample_z, self.images: sample_images, self.y:batch_labels} ) else:

when sampling , the feeding of y is batch_labels for mnist training?
I think should be sample_labels?

@carpedm20
Copy link
Owner

I recommend you to read the paper Section 8. They trained DCGAN conditioned on the label for MNIST dataset to see the result of conditional generative models.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants