Imported from https://github.com/Blade6570/Learningimage-to-imagetranslationusingpairedandunpairedtrainingsamples