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)
Paper: arxiv.org/abs/2001.04872
Code: github.com/VLL-HD/GIN
“Guided Image Generation with Conditional Invertible Neural Networks” (2019)
Paper: arxiv.org/abs/1907.02392
Supplement: drive.google.com/file/d/1_OoiIGhLeVJGaZFeBt0OWOq8ZCtiI7li
Code: github.com/VLL-HD/conditional_invertible_neural_networks
“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
Metadata
Release files for FrEIA 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| FrEIA-0.2.tar.gz | 34.3 kB | Without provenance | Details for FrEIA-0.2.tar.gz |
Release files / FrEIA-0.2.tar.gz
| Download URL | FrEIA-0.2.tar.gz |
|---|---|
| Size | 34.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9f1732b4a238b85b0ad3bc14b279a653a6063d14152028e164b989582026bdc
|
|
BLAKE2b-256 checksum How to use checksums |
d4765660f714a3a8c8df9c3301161b53fbdaa7a911ee0f660eaa65fa5a5b36f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.11
|
Security for FrEIA 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.