G Gan Gan functional theory pix2pix