GitHub - open-mmlab/mmgeneration: MMGeneration is a powerful toolkit for generative models, based on PyTorch and MMCV. (original) (raw)

PyPI docs badge codecov license open issues issue resolution

📘Documentation |🛠️Installation |👀Model Zoo |🆕Update News |🚀Ongoing Projects |🤔Reporting Issues

English | 简体中文

What's New

MMGeneration has been merged in MMEditing. And we have supported new generation tasks and models. We highlight the following new features:

Introduction

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

Training Visualization GAN Interpolation GAN Projector GAN Manipulation

Highlight

Changelog

v0.7.3 was released on 14/04/2023. Please refer to changelog.md for details and release history.

Installation

MMGeneration depends on PyTorch and MMCV. Below are quick steps for installation.

**Step 1.**Install PyTorch following official instructions, e.g.

pip3 install torch torchvision

**Step 2.**Install MMCV with MIM.

pip3 install openmim
mim install mmcv-full

**Step 3.**Install MMGeneration from source.

git clone https://github.com/open-mmlab/mmgeneration.git
cd mmgeneration
pip3 install -e .

Please refer to get_started.md for more detailed instruction.

Getting Started

Please see get_started.md for the basic usage of MMGeneration. docs/en/quick_run.md can offer full guidance for quick run. For other details and tutorials, please go to our documentation.

ModelZoo

These methods have been carefully studied and supported in our frameworks:

Unconditional GANs (click to collapse)

Contributing

We appreciate all contributions to improve MMGeneration. Please refer to CONTRIBUTING.md in MMCV for more details about the contributing guideline.

Citation

If you find this project useful in your research, please consider cite:

@misc{2021mmgeneration, title={{MMGeneration}: OpenMMLab Generative Model Toolbox and Benchmark}, author={MMGeneration Contributors}, howpublished = {\url{https://github.com/open-mmlab/mmgeneration}}, year={2021} }

License

This project is released under the Apache 2.0 license. Some operations in MMGeneration are with other licenses instead of Apache2.0. Please refer to LICENSES.md for the careful check, if you are using our code for commercial matters.

Projects in OpenMMLab