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

Why hardcoded constants? #8

Open
constfilin opened this issue Oct 23, 2018 · 2 comments
Open

Why hardcoded constants? #8

constfilin opened this issue Oct 23, 2018 · 2 comments

Comments

@constfilin
Copy link

On this line :

d2 = tf.nn.relu(batch_normal(fully_connect(d1, output_size=7*7*2*64, scope='gen_fully2'), scope='gen_bn2'))
instead of 7*7*2*64 there should be c1*c1*2*self.batch_size.

Otherwise, why does this create variables and then neglects to use them?

@zhangqianhui
Copy link
Owner

thanks

@constfilin
Copy link
Author

JFYI: please see my code based on your conditional GAN.

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