ARGA icon indicating copy to clipboard operation
ARGA copied to clipboard

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

Open seigercom opened this issue 6 years ago • 1 comments

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.

seigercom avatar Jan 16 '19 20:01 seigercom

Hello, what is the generator_loss?

DreamerDW avatar May 25 '20 03:05 DreamerDW