Giter Site home page Giter Site logo

12xzou / mmediting Goto Github PK

View Code? Open in Web Editor NEW

This project forked from open-mmlab/mmagic

0.0 0.0 0.0 10.28 MB

OpenMMLab Image and Video Processing, Editing and Synthesis Toolbox

Home Page: https://mmediting.readthedocs.io/en/latest/

License: Apache License 2.0

Shell 0.11% Python 99.83% Dockerfile 0.06%

mmediting's Introduction

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 master branch works with PyTorch 1.5+.

Some Demos:

RealBasicVSR.Demo.watermark.mp4
CAIN.Demo.mp4
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

MMEditing maintains both master and 1.x branches. See more details in Branch Maintenance Plan.

💎 Stable version

0.16.0 was released in 31/10/2022:

  • VisualizationHook is deprecated. Users should use MMEditVisualizationHook 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
Matting
Image-Super-Resolution
Video-Super-Resolution
Generation
Video Interpolation

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.

Branch Maintenance Plan

MMEditing currently has two branches, the master and 1.x branches, which go through the following three phases.

Phase Time Branch description
RC Period 2022/9/1 - 2022.12.31 Release candidate code (1.x version) will be released on 1.x branch. Default master branch is still 0.x version Master and 1.x branches iterate normally
Compatibility Period 2023/1/1 - 2023.12.31 Default master branch will be switched to 1.x branch, and 0.x branch will correspond to 0.x version We still maintain the old version 0.x, respond to user needs, but try not to introduce changes that break compatibility; master branch iterates normally
Maintenance Period From 2024/1/1 Default master branch corresponds to 1.x version and 0.x branch is 0.x version 0.x branch is in maintenance phase, no more new feature support; master branch is iterating normally

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

  • MMEngine: OpenMMLab foundational library for training deep learning models.
  • MMCV: OpenMMLab foundational library for computer vision.
  • MMEval: A unified evaluation library for multiple machine learning libraries.
  • 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.

mmediting's People

Contributors

alexzou14 avatar allentdan avatar anse3832 avatar ckkelvinchan avatar congee524 avatar endlesssora avatar grimoire avatar ha0tang avatar hejm37 avatar hellock avatar innerlee avatar leoxing1996 avatar magicdream2222 avatar matrixgame2018 avatar nbei avatar nijkah avatar nk-cs-zzl avatar plyfager avatar quincylin1 avatar rangilyu avatar ryanxingql avatar sunnyxiaohu avatar wangruohui avatar wwhio avatar xinntao avatar yaochaorui avatar ychfan avatar yshuo-li avatar z-fran avatar zengyh1900 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.