#8 · Primary category: Image Generation

pytorch-CycleGAN-and-pix2pix

computer-graphics computer-vision cyclegan deep-learning gan gans generative-adversarial-network image-generation image-manipulation pix2pix pytorch

Image-to-Image Translation in PyTorch

Project last updated:08/06/25

GitHub Stars

25.2K

Forks

6.6K

Contributors

72

License

Other

Why we included this project

For anyone working with image datasets that need to be converted from one style to another, this repo is the usual first stop. It bundles two well-known methods: pix2pix for paired data where each input has a matching output, and CycleGAN for unpaired translation where no such correspondence exists. That means a single codebase covers everything from turning sketches into photos to restyling horses as zebras. The documentation goes beyond a quick start, with training and testing tips, an FAQ, and an overview of the code structure, so adapting it to custom models and datasets is realistic. The project has stayed current, with recent updates adding support for Python 3.11, PyTorch 2.4, and multi-GPU training via DDP. It remains a readable, practical foundation for anyone learning or building on generative image translation.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category