OpenMMLab Image and Video Editing Toolbox and Benchmark
Project description
📘Documentation | 🛠️Installation | 👀Model Zoo | 🆕Update News | 🚀Ongoing Projects | 🤔Reporting Issues
English | 简体中文
Introduction
MMEditing is an open-source image and video editing toolbox based on PyTorch. It is a part of the OpenMMLab project.
Currently, MMEditing supports the following tasks:
The master branch works with PyTorch 1.5+.
Some Demos:
Major features
-
Modular design
We decompose the editing framework into different components and one can easily construct a customized editor framework by combining different modules.
-
Support of multiple tasks in editing
The toolbox directly supports popular and contemporary inpainting, matting, super-resolution and generation tasks.
-
State of the art
The toolbox provides state-of-the-art methods in inpainting/matting/super-resolution/generation.
Note that MMSR has been merged into this repo, as a part of MMEditing. With elaborate designs of the new framework and careful implementations, hope MMEditing could provide better experience.
What's New
💎 Stable version
0.16.0 was released in 31/10/2022:
VisualizationHook
is deprecated. Users should useMMEditVisualizationHook
instead.- Fix FLAVR register.
- Fix the number of channels in RDB.
Please refer to changelog.md for details and release history.
🌟 Preview of 1.x version
A brand new version of MMEditing v1.0.0rc1 was released in 24/09/2022:
- Support all the tasks, models, metrics, and losses in MMGeneration 😍。
- Unifies interfaces of all components based on MMEngine.
- Refactored and more flexible architecture.
Find more new features in 1.x branch. Issues and PRs are welcome!
Installation
MMEditing depends on PyTorch and MMCV. Below are quick steps for installation.
Step 1. Install PyTorch following official instructions.
Step 2. Install MMCV with MIM.
pip3 install openmim
mim install mmcv-full
Step 3. Install MMEditing from source.
git clone https://github.com/open-mmlab/mmediting.git
cd mmediting
pip3 install -e .
Please refer to install.md for more detailed instruction.
Getting Started
Please see getting_started.md and demo.md for the basic usage of MMEditing.
Model Zoo
Supported algorithms:
Inpainting
- Global&Local (ToG'2017)
- DeepFillv1 (CVPR'2018)
- PConv (ECCV'2018)
- DeepFillv2 (CVPR'2019)
- AOT-GAN (TVCG'2021)
Image-Super-Resolution
Video-Super-Resolution
- EDVR (CVPR'2019)
- TOF (IJCV'2019)
- TDAN (CVPR'2020)
- BasicVSR (CVPR'2021)
- IconVSR (CVPR'2021)
- BasicVSR++ (CVPR'2022)
- RealBasicVSR (CVPR'2022)
Please refer to model_zoo for more details.
Contributing
We appreciate all contributions to improve MMEditing. Please refer to our contributing guidelines.
Acknowledgement
MMEditing is an open source project that is contributed by researchers and engineers from various colleges and companies. We appreciate all the contributors who implement their methods or add new features, as well as users who give valuable feedbacks. We wish that the toolbox and benchmark could serve the growing research community by providing a flexible toolkit to reimplement existing methods and develop their own new methods.
Citation
If MMEditing is helpful to your research, please cite it as below.
@misc{mmediting2022,
title = {{MMEditing}: {OpenMMLab} Image and Video Editing Toolbox},
author = {{MMEditing Contributors}},
howpublished = {\url{https://github.com/open-mmlab/mmediting}},
year = {2022}
}
License
This project is released under the Apache 2.0 license.
Projects in OpenMMLab
- MMCV: OpenMMLab foundational library for computer vision.
- MIM: MIM installs OpenMMLab packages.
- MMClassification: OpenMMLab image classification toolbox and benchmark.
- MMDetection: OpenMMLab detection toolbox and benchmark.
- MMDetection3D: OpenMMLab's next-generation platform for general 3D object detection.
- MMRotate: OpenMMLab rotated object detection toolbox and benchmark.
- MMSegmentation: OpenMMLab semantic segmentation toolbox and benchmark.
- MMOCR: OpenMMLab text detection, recognition, and understanding toolbox.
- MMPose: OpenMMLab pose estimation toolbox and benchmark.
- MMHuman3D: OpenMMLab 3D human parametric model toolbox and benchmark.
- MMSelfSup: OpenMMLab self-supervised learning toolbox and benchmark.
- MMRazor: OpenMMLab model compression toolbox and benchmark.
- MMFewShot: OpenMMLab fewshot learning toolbox and benchmark.
- MMAction2: OpenMMLab's next-generation action understanding toolbox and benchmark.
- MMTracking: OpenMMLab video perception toolbox and benchmark.
- MMFlow: OpenMMLab optical flow toolbox and benchmark.
- MMEditing: OpenMMLab image and video editing toolbox.
- MMGeneration: OpenMMLab image and video generative models toolbox.
- MMDeploy: OpenMMLab model deployment framework.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file test2-mmedit-0.16.0.tar.gz
.
File metadata
- Download URL: test2-mmedit-0.16.0.tar.gz
- Upload date:
- Size: 314.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72c461ab90cbf06335a7fd0bcab728d3e478ffe8116daac7d4428266d3923106 |
|
MD5 | 0f2ca81415bbff521cef9923968424c7 |
|
BLAKE2b-256 | 82091d40e56367f2d10d3a3a6f46a5522e32792870c256089dca96e57b94e88a |