mmgeneration
MMGeneration is a powerful toolkit for generative models, especially for GANs now. It is based on PyTorch and MMCV. The master branch works with PyTorch 1.5+.
Major Features
- High-quality Training Performance: We currently support training on Unconditional GANs, Internal GANs, and Image Translation Models. Support for conditional models will come soon.
- Powerful Application Toolkit: A plentiful toolkit containing multiple applications in GANs is provided to users. GAN interpolation, GAN projection, and GAN manipulations are integrated into our framework. It's time to play with your GANs! (Tutorial for applications)
- Efficient Distributed Training for Generative Models: For the highly dynamic training in generative models, we adopt a new way to train dynamic models with
MMDDP
. (Tutorial for DDP) - New Modular Design for Flexible Combination: A new design for complex loss modules is proposed for customizing the links between modules, which can achieve flexible combination among different modules. (Tutorial for new modular design)
Training Visualization
|
GAN Interpolation
|
GAN Projector
|
GAN Manipulation
|
Highlight
- Positional Encoding as Spatial Inductive Bias in GANs (CVPR2021) has been released in
MMGeneration
. [Config], [Project Page] - Conditional GANs have been supported in our toolkit. More methods and pre-trained weights will come soon.
- Mixed-precision training (FP16) for StyleGAN2 has been supported. Please check the comparison between different implementations.
Changelog
v0.3.0 was released on 02/08/2021. Please refer to changelog.md for details and release history.
ModelZoo
These methods have been carefully studied and supported in our frameworks:
Unconditional GANs (click to collapse)
- ✅ DCGAN (ICLR'2016)
- ✅ WGAN-GP (NIPS'2017)
- ✅ LSGAN (ICCV'2017)
- ✅ GGAN (Axiv'2017)
- ✅ PGGAN (ICLR'2018)
- ✅ StyleGANV1 (CVPR'2019)
- ✅ StyleGANV2 (CVPR'2020)
- ✅ Positional Encoding in GANs (CVPR'2021)
Conditional GANs (click to collapse)
- ✅ SNGAN (ICLR'2018)
- ✅ Projection GAN (ICLR'2018)
- ✅ SAGAN (ICML'2019)
- ✅ BIGGAN/BIGGAN-DEEP (ICLR'2019)
Internal Learning (click to collapse)
- ✅ SinGAN (ICCV'2019)