/nflows

Normalizing flows in PyTorch

Primary LanguagePython

Description

nflows is a comprehensive collection of normalizing flows using PyTorch.

Setup

You can install all the dependencies using the environment.yml file to create a conda environment: conda env create -f environment.yml

Alternatively, you can install via setup.py using pip install -e ".[dev]" (the dev flag installs development and testing dependencies).

References

nflows is derived from bayesiains/nsf originally published with

C. Durkan, A. Bekasov, I. Murray, G. Papamakarios, Neural Spline Flows, NeurIPS 2019. [arXiv] [bibtex]

nflows have been used as density estimators for likelihood-free inference in

Conor Durkan, Iain Murray, George Papamakarios, On Contrastive Learning for Likelihood-free Inference [arXiv].