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 generator loss in vae model not plus the ae's cost #6

Open
seigercom opened this issue Jan 16, 2019 · 1 comment
Open

Why generator loss in vae model not plus the ae's cost #6

seigercom opened this issue Jan 16, 2019 · 1 comment

Comments

@seigercom
Copy link

Hi, it's a nice work and thanks for sharing the code.
I have a puzzle, in arga_vae model, when you define the OptimizerVAE in optimizer.py, the generator_loss doesn't plus the auto-encoder cost
self.generator_loss = tf.reduce_mean( tf.nn.sigmoid_cross_entropy_with_logits(labels=tf.ones_like(d_fake), logits=d_fake))
rather than
self.generator_loss = tf.reduce_mean( tf.nn.sigmoid_cross_entropy_with_logits(labels=tf.ones_like(d_fake), logits=d_fake))+self.cost.
Can you please tell me the reason to do this?
Thanks a lot.

@DreamerDW
Copy link

Hello, what is the generator_loss?

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