Skip to main content

Framework for Easily Invertible Architectures

Project description

Logo

Build Status

This is the Framework for Easily Invertible Architectures (FrEIA).

  • Construct Invertible Neural Networks (INNs) from simple invertible building blocks.

  • Quickly construct complex invertible computation graphs and INN topologies.

  • Forward and inverse computation guaranteed to work automatically.

  • Most common invertible transforms and operations are provided.

  • Easily add your own invertible transforms.

Papers

Our following papers use FrEIA, with links to code given below.

“Generative Classifiers as a Basis for Trustworthy Image Classification” (CVPR 2021)

“Training Normalizing Flows with the Information Bottleneck for Competitive Generative Classification” (Neurips 2020)

“Disentanglement by Nonlinear ICA with General Incompressible-flow Networks (GIN)” (ICLR 2020)

“Guided Image Generation with Conditional Invertible Neural Networks” (2019)

“Analyzing inverse problems with invertible neural networks.” (ICLR 2019)

Installation

FrEIA has the following dependencies:

Package

Version

Python

>= 3.7

Pytorch

>= 1.0.0

Numpy

>= 1.15.0

Scipy

>= 1.5

Through pip

pip install git+https://github.com/VLL-HD/FrEIA.git

Manually

For development:

# first clone the repository
git clone https://github.com/VLL-HD/FrEIA.git
cd FrEIA
# install the dependencies
pip install -r requirements.txt
# install in development mode, so that changes don't require a reinstall
python setup.py develop

Documentation

The full manual can be found at https://vll-hd.github.io/FrEIA including

Project details


Release history Release notifications | RSS feed

This version

0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

FrEIA-0.2.tar.gz (34.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page