A Normalizing flow package using PyTorch
Project description
NormFlowPy
This repository contains the implementation of various types of normalizing flow/ invertible neural networks. In addition, we provide a simple API run, train, and implement new types of normalizing flows. We have implemented the following layers:
- Affine Coupling
- Invertible 1x1
- Neural Spline Flow and Cubic Flow and others. Note, that so implementation's based on other Github repositories and this would be stated in each file.
Installation
pip install normflowpy
Code Examples
We have provide only a single example at this stage please see moons notebook
Contribution & Problems
We welcomes contributions from anyone and if you find a bug or have a question, please create a GitHub issue.
Refernces
[1] Kingma, Durk P., and Prafulla Dhariwal. "Glow: Generative flow with invertible 1x1 convolutions." Advances in neural information processing systems 31 (2018).
[2] Laurent Dinh, David Krueger, and Yoshua Bengio. NICE: nonlinear independent components estimation. In Yoshua Bengio and Yann LeCun, editors, 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Workshop Track Proceedings, 2015.
[3] Andreas Lugmayr, Martin Danelljan, Luc Van Gool, and RaduTimofte.Srflow: Learning the super-resolution space withnormalizing flow. InEuropean Conference on Computer Vision,pages 715–732. Springer, 2020.
[4] Laurent Dinh, Jascha Sohl-Dickstein, and Samy Bengio. Densityestimation using real nvp.arXiv preprint arXiv:1605.08803,2016.
[5] Conor Durkan, Artur Bekasov, Iain Murray, and George Papa-makarios. Cubic-spline flows.arXiv preprint arXiv:1906.02145,2019
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file normflowpy-0.2.0.tar.gz
.
File metadata
- Download URL: normflowpy-0.2.0.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8ade292bfd0ae87a9cdd018f469db0f620a4ac9284e93fce6cd73a3c5744b38 |
|
MD5 | d608aaa7de1f27258ff9daae55198e38 |
|
BLAKE2b-256 | 15dc03e1c3d2cdde7747e28abf944402afd3cd8679688c81258d349731a895c0 |
File details
Details for the file normflowpy-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: normflowpy-0.2.0-py3-none-any.whl
- Upload date:
- Size: 31.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cb345e7f0ec4680dfaaab1cfbdbf8ed158644f1cc154cedee6d618d00a46064 |
|
MD5 | 9f79ec5ac1edbd6ecda7920bf7430b28 |
|
BLAKE2b-256 | 2e88e83b71c673c675ebb29bc037d90bfe0416b12e2efe9eaeb224bfe7aad289 |