vislearn / FrEIA

Framework for Easily Invertible Architectures
MIT License
775 stars 113 forks source link

|Logo|

.. image:: https://github.com/vislearn/FrEIA/workflows/CI/badge.svg :alt: Build Status

This is the Fr\ amework for E\ asily I\ nvertible A\ rchitectures (FrEIA).

.. contents:: Table of contents :backlinks: top :local:

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 ^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code:: sh

pip install FrEIA

Manually ^^^^^^^^^^^^^^^^^^^^^^^^^^^

For development:

.. code:: sh

first clone the repository

git clone https://github.com/vislearn/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://vislearn.github.io/FrEIA including

How to cite this repository

If you used this repository in your work, please cite it as below:

.. code-block::

@software{freia, author = {Ardizzone, Lynton and Bungert, Till and Draxler, Felix and Köthe, Ullrich and Kruse, Jakob and Schmier, Robert and Sorrenson, Peter}, title = {{Framework for Easily Invertible Architectures (FrEIA)}}, year = {2018-2022}, url = {https://github.com/vislearn/FrEIA} }

.. |Logo| image:: docs/freia_logo_invertible.svg