You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also find one bug. I think you are misleading by the Eq. (12)., the equation is used to compute each element of vector z.
kl_terms[t]=0.5*tf.reduce_sum(mu2+sigma2-2*logsigma,1)-T*.5 # each kl term is (1xminibatch)
should be
kl_terms[t]=0.5*tf.reduce_sum(mu2+sigma2-2*logsigma-1,1) # each kl term is (1xminibatch)
# kl_terms[t]=0.5*tf.reduce_sum(mu2+sigma2-2*logsigma,1)-T*z_size*.5 # alternatively
Or the kl term will blow up with large z_size.
Another issue is the mnist data in your code is not binarized. But it won't make much difference.
The text was updated successfully, but these errors were encountered:
It is about 70, lower than most reported results.
I also find one bug. I think you are misleading by the Eq. (12)., the equation is used to compute each element of vector z.
should be
Or the kl term will blow up with large z_size.
Another issue is the mnist data in your code is not binarized. But it won't make much difference.
The text was updated successfully, but these errors were encountered: