Is there a wrong computation of KL in the blog post example between KL[Q(z|X) || P(z)]?

Author: kirk86Created Feb 21, 2020Updated Feb 21, 2020

In your blog post you have image

Shouldn't that be image

I think in your formulation tr(Σ(Χ)) should be tr(Σ^(-1)(Χ)) μ(Χ)^(Τ) μ(Χ) should be μ(Χ)^(Τ) Σ^(-1)(Χ) μ(Χ) -log(det(Σ(Χ))) should be +log(det(Σ(Χ)))

Source: wiseodd/generative-models