Skip to content

fix a bug about KL loss term#6

Open
zxiaomzxm wants to merge 3 commits intoericjang:masterfrom
zxiaomzxm:master
Open

fix a bug about KL loss term#6
zxiaomzxm wants to merge 3 commits intoericjang:masterfrom
zxiaomzxm:master

Conversation

@zxiaomzxm
Copy link

According to Auto-Encoding Variational Bayes
kl_terms[t]=0.5*tf.reduce_sum(mu2+sigma2-2*logsigma,1)-T*.5
should be
0.5*tf.reduce_sum(mu2+sigma2-2*logsigma-1,1)
equals to
0.5*tf.reduce_sum(mu2+sigma2-2*logsigma,1)-z_size*.5

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

Successfully merging this pull request may close these issues.

1 participant