This code accompanies the paper Training Invertible Neural Networks as Autoencoders TG. L. Nguyen et al, GCPR 2019. The most recent Version of the FrEIA framework is available at https://github.com/VLL-HD/FrEIA