Skip to content

Implementation of Normalizing Flows in Pytorch with examples.

License

Notifications You must be signed in to change notification settings

Ea0011/normalizing-flows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Normalizing Flows

This repo contains pytorch implementations of several popular normalizing flows. Normalizing flows are a type of generative models that allow exact density computation through change of variables formula. The whole process involves sampling a simple random variable (eg. Gaussian), and transforming it to a sample from a complex distribution using invertible transformations. For computing the density of the dataset, the inverse flow is used to map a sample to a simple distribution and computing the probability. For sampling, a simple example is drawn and transformed to a sample from the target dataset.

Here are some examples of normaliing flows learning a density of the given dataset. You might want to wait a bit for the gifs to render.

Left: Glow learning a mixture of 6 Gaussians. Right: Radial flow learning a mixture of 3 Gaussians

About

Implementation of Normalizing Flows in Pytorch with examples.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published