Imported from https://github.com/yingcong/HomoInterpGAN