We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
this is the line 190 of variational_autoencoder.py:
- 0.5 * T.sqr(tgt - mu) / T.exp(2 * ls))
where does that 2 coefficient for the log sigma come from? I did the derivations myself and I could not find it. This other implementation: https://github.com/y0ast/Variational-Autoencoder/blob/master/VAE.py does not include that multiplier. Any explanation? Is it a bug?
2
The text was updated successfully, but these errors were encountered:
@tencia, do you still know what you did there?
Sorry, something went wrong.
No, unfortunately I don't remember where that term came from, sorry.
Likely it's the square in sigma^2 ;) when dealing with log_sigma it "comes down", i.e. exp(2*log(sigma)) = exp(log(sigma^2)) = sigma^2
No branches or pull requests
Hi,
this is the line 190 of variational_autoencoder.py:
where does that
2
coefficient for the log sigma come from? I did the derivations myself and I could not find it. This other implementation: https://github.com/y0ast/Variational-Autoencoder/blob/master/VAE.py does not include that multiplier. Any explanation? Is it a bug?The text was updated successfully, but these errors were encountered: