Imported from https://github.com/AlexiaJM/RelativisticGAN