wellecks / vaes

Variational Autoencoders & Normalizing Flows Project
19 stars 10 forks source link

normalizing flow loss function issue #11

Open weixsong opened 6 years ago

weixsong commented 6 years ago

Hi,

In paper https://arxiv.org/pdf/1505.05770.pdf, equation 15, loss function is F(x), and we need to minimize this F(x).

The equation 15 after some transformation, first term is KL divergence (positive), senond term is reconstruct_loss(negative), third term is log_jacobian_det (negative), is my understanding correct?

So I could not understand your loss function in code, why your KL is negative and reconstruct_loss is positive?

Regards, Wei