jaanli / variational-autoencoder

Variational autoencoder implemented in tensorflow and pytorch (including inverse autoregressive flow)

Home Page:https://jaan.io/what-is-variational-autoencoder-vae-tutorial/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Regarding the loss function

leviszhang opened this issue · comments

Hi, thank you for the nice implementation. Are there any references to the loss function "log_p_x_and_z - log_q_z" used in the Pytorch implementation? Both the two logarithm terms refer to a "NormalLogProb" class. It seems quite different from the one in the paper "Tutorial: Deriving the Standard Variational Autoencoder (VAE) Loss Function". Thank you for your time reading this.

Yes! I derive it here: https://jaan.io/what-is-variational-autoencoder-vae-tutorial/ - feel free to follow up if you have questions :)