Imported from https://github.com/xhujoy/CycleGAN-tensorflow