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

VAE loss #15

Open
hongzimao opened this issue Apr 12, 2017 · 0 comments
Open

VAE loss #15

hongzimao opened this issue Apr 12, 2017 · 0 comments

Comments

@hongzimao
Copy link

Hi,

Awesome code!

A minor issue. Following paper https://arxiv.org/pdf/1312.6114.pdf, equation 10, it seems line 62 of vae.py

tf.reduce_sum(0.5 * (tf.square(mean) + tf.square(stddev) - 2.0 * tf.log(stddev + epsilon) - 1.0))

should be

tf.reduce_sum(0.5 * (tf.square(mean) + tf.square(stddev) - tf.log(stddev + epsilon) - 1.0))

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