Open KevinMarkVine opened 4 years ago
https://github.com/eriklindernoren/PyTorch-GAN/blob/a163b82beff3d01688d8315a3fd39080400e7c01/implementations/pix2pix/datasets.py#L26
I think it‘s to avoid over-fitting, cause it just reverse the image A and image B at the same time randomly.
It's just horizontal flip random augmentations.
https://github.com/eriklindernoren/PyTorch-GAN/blob/a163b82beff3d01688d8315a3fd39080400e7c01/implementations/pix2pix/datasets.py#L26