Imported from https://github.com/spandan2/Wgan-GP_cats