GFPGAN aims at developing Practical Algorithms for Real-world Face Restoration
AgentImage & Design
pytorch-CycleGAN-and-pix2pix
github.com/junyanz/pytorch-CycleGAN-and-pix2pixImage-to-Image Translation in PyTorch
git clone https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix- Stars
- 25k
- Rank in field
- Top 12%#67 of 586 by stars
- Forks
- …
- Open issues
- …
- Contributors
- …
- Language
- Python
- License
- Custom licence
- Last push
- 6 Aug 2025
What is pytorch-CycleGAN-and-pix2pix?
This repository provides PyTorch implementations of CycleGAN and pix2pix for image-to-image translation. CycleGAN handles unpaired translation between domains (e.g., horse to zebra), while pix2pix works with paired data (e.g., edges to photos). The codebase supports Python 3.11 and PyTorch 2.4+, includes distributed data parallel training, and offers templates for custom models and datasets.
Install & use
Install
git clone https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix.git
Usage
torchrun --nproc_per_node=4 train.py ...
junyanz/pytorch-CycleGAN-and-pix2pix is a third-party open-source project, listed here from public GitHub data. ImuTechz did not write it and has not reviewed or security-audited its code. Read the source and its permissions before you install or run it.
Features
- CycleGAN for unpaired image-to-image translation
- pix2pix for paired image-to-image translation
- DDP support for multi-GPU training
- Templates for custom models and datasets
- Training tips and FAQ documentation
- Colab notebooks for quick experimentation
Best for
- Unpaired domain translation research
- Paired image translation tasks
- Multi-GPU training workflows
- Custom model development
Pros
- Updated for modern PyTorch and Python versions
- Produces results comparable to original Torch implementations
- Includes comprehensive documentation and examples
- Supports both paired and unpaired translation
Cons
- Requires PyTorch 2.4+ for current version
- Older PyTorch versions need separate branch
- GPU required for practical training
Stars over time