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

Bug in trainer.build_model()? #39

Open
anastasiadk opened this issue Oct 31, 2017 · 0 comments
Open

Bug in trainer.build_model()? #39

anastasiadk opened this issue Oct 31, 2017 · 0 comments

Comments

@anastasiadk
Copy link

Hi,

thanks for sharing the code. I have a question about the discriminator loss for real images - self.d_loss_real in trainer.build_model(). You compute it as
self.d_loss_real = tf.reduce_mean(tf.abs(AE_x - x))
Before that you compute x to be normalized versions of real images by using x = norm_img(self.x), but AE_x is a de-normalized version of the discriminator output for x. Is it a bug, or am I missing something? I'm talking about this commit.

Thanks in advance,
Anastasia

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

1 participant