Question about loss equation from blog
gunshi opened this issue · 1 comments
gunshi commented
Hi,
Comparing the explicit GMM VAE code with the loss equation from the blog, I'm confused about the missing term :
(expectation of log(p(y)/q(y|x))-- the first term)
from the loss calculation here:
vae-clustering/shared_subgraphs.py
Line 31 in 14525a9
Line 62 in 14525a9
and in the notebook as well.
It would be great if you could clarify the reason for that
Thanks
JerryPeng21cuhk commented
Have a look at variable: nent in line 56 of file gmvae_k.py and line 34 of function: labeled_loss