ikostrikov / TensorFlow-VAE-GAN-DRAW

A collection of generative methods implemented with TensorFlow (Deep Convolutional Generative Adversarial Networks (DCGAN), Variational Autoencoder (VAE) and DRAW: A Recurrent Neural Network For Image Generation).
Apache License 2.0
595 stars 167 forks source link

Loss #16

Open hongzimao opened 7 years ago

hongzimao commented 7 years ago

Shouldn't it be reduced_mean instead of reduced_sum when computing the vae and reconstruction loss?

atabakd commented 7 years ago

Yes, but if you use reduced_sum for all losses consistently, then it shouldn't matter (mean is basically sum, divided by a constant)