Skip to main content

Open MMLab Semantic Segmentation Toolbox and Benchmark

Project description

English | 简体中文

Introduction

MMSegmentation is an open source semantic segmentation toolbox based on PyTorch. It is a part of the OpenMMLab project.

The master branch works with PyTorch 1.5+.

demo image

Major features
  • Unified Benchmark

    We provide a unified benchmark toolbox for various semantic segmentation methods.

  • Modular Design

    We decompose the semantic segmentation framework into different components and one can easily construct a customized semantic segmentation framework by combining different modules.

  • Support of multiple methods out of box

    The toolbox directly supports popular and contemporary semantic segmentation frameworks, e.g. PSPNet, DeepLabV3, PSANet, DeepLabV3+, etc.

  • High efficiency

    The training speed is faster than or comparable to other codebases.

What's New

💎 Stable version

v0.28.0 was released in 9/08/2022:

  • Support Tversky Loss
  • Fix binary segmentation

Please refer to changelog.md for details and release history.

🌟 Preview of 1.x version

A brand new version of MMSegmentation v1.0.0rc0 was released in 31/8/2022:

  • Unifies interfaces of all components based on MMEngine.
  • Faster training and testing speed with complete support of mixed precision training.
  • Refactored and more flexible architecture.

Find more new features in 1.x branch. Issues and PRs are welcome!

Installation

Please refer to get_started.md for installation and dataset_prepare.md for dataset preparation.

Get Started

Please see train.md and inference.md for the basic usage of MMSegmentation. There are also tutorials for:

A Colab tutorial is also provided. You may preview the notebook here or directly run on Colab.

Benchmark and model zoo

Results and models are available in the model zoo.

Supported backbones:

Supported methods:

Supported datasets:

FAQ

Please refer to FAQ for frequently asked questions.

Contributing

We appreciate all contributions to improve MMSegmentation. Please refer to CONTRIBUTING.md for the contributing guideline.

Acknowledgement

MMSegmentation is an open source project that welcome any contribution and feedback. We wish that the toolbox and benchmark could serve the growing research community by providing a flexible as well as standardized toolkit to reimplement existing methods and develop their own new semantic segmentation methods.

Citation

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

@misc{mmseg2020,
    title={{MMSegmentation}: OpenMMLab Semantic Segmentation Toolbox and Benchmark},
    author={MMSegmentation Contributors},
    howpublished = {\url{https://github.com/open-mmlab/mmsegmentation}},
    year={2020}
}

License

MMSegmentation is released under the Apache 2.0 license, while some specific features in this library are with other licenses. Please refer to LICENSES.md for the careful check, if you are using our code for commercial matters.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mmsegmentation-0.28.0.tar.gz (353.3 kB view details)

Uploaded Source

Built Distribution

mmsegmentation-0.28.0-py3-none-any.whl (821.7 kB view details)

Uploaded Python 3

File details

Details for the file mmsegmentation-0.28.0.tar.gz.

File metadata

  • Download URL: mmsegmentation-0.28.0.tar.gz
  • Upload date:
  • Size: 353.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.13

File hashes

Hashes for mmsegmentation-0.28.0.tar.gz
Algorithm Hash digest
SHA256 3f3a91a4f4c8cd08c6eaea956ba42ee63d0d4e691e53da9a19a7c17989fd5a1b
MD5 11fe017d275f738521cbbb9e404be624
BLAKE2b-256 55daa4093a33e102453744f77ab1a3c3932155f4ab7c53062f7df6eb85165403

See more details on using hashes here.

File details

Details for the file mmsegmentation-0.28.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mmsegmentation-0.28.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8cd5b4d1c48daafa23dd3b9ba9013f128e765d12762df9f3b3d5fbac5e73b0b0
MD5 7134dbaaba16b5676f870cd0b7b2b9f1
BLAKE2b-256 b59cc781d92859443c4e9e2aafc2263c6412f7c8cebb84ea19e80325041267dc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page