-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Hello, I wonder your nll is correct?
I think, your z is the latent variable, and jac is log_det_jacobian in normalizing flow.
nll = (log_prob(z) + log_det_jacobian) / pixels
But I think you forgot the transformation cost about a discrete image to a continuous image.
In RealNVP, he calculates its cost image by image.
https://github.com/tensorflow/models/blob/master/research/real_nvp/real_nvp_multiscale_dataset.py#L1063-L1077 (in Glow, Flow++, we can find this cost function, too)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels