OpenMMLab Semantic Segmentation Toolbox and Benchmark.
 
 
 
Go to file
John Zhu c1f46a69f4
Fast-SCNN implemented (#58)
* init commit: fast_scnn

* 247917iters

* 4x8_80k

* configs placed in configs_unify.  4x8_80k exp.running.

* mmseg/utils/collect_env.py modified to support Windows

* study on lr

* bug in configs_unify/***/cityscapes.py fixed.

* lr0.08_100k

* lr_power changed to 1.2

* log_config by_epoch set to False.

* lr1.2

* doc strings added

* add fast_scnn backbone  test

* 80k 0.08,0.12

* add 450k

* fast_scnn test: fix BN bug.

* Add different config files into configs/

* .gitignore recovered.

* configs_unify del

* .gitignore recovered.

* delete sub-optimal config files of fast-scnn

* Code style improved.

* add docstrings to component modules of fast-scnn

* relevant files modified according to Jerry's instructions

* relevant files modified according to Jerry's instructions

* lint problems fixed.

* fast_scnn config extremely simplified.

* InvertedResidual

* fixed padding problems

* add unit test for inverted_residual

* add unit test for inverted_residual: debug 0

* add unit test for inverted_residual: debug 1

* add unit test for inverted_residual: debug 2

* add unit test for inverted_residual: debug 3

* add unit test for sep_fcn_head: debug 0

* add unit test for sep_fcn_head: debug 1

* add unit test for sep_fcn_head: debug 2

* add unit test for sep_fcn_head: debug 3

* add unit test for sep_fcn_head: debug 4

* add unit test for sep_fcn_head: debug 5

* FastSCNN type(dwchannels) changed to tuple.

* t changed to expand_ratio.

* Spaces fixed.

* Update mmseg/models/backbones/fast_scnn.py

Co-authored-by: Jerry Jiarui XU <xvjiarui0826@gmail.com>

* Update mmseg/models/decode_heads/sep_fcn_head.py

Co-authored-by: Jerry Jiarui XU <xvjiarui0826@gmail.com>

* Update mmseg/models/decode_heads/sep_fcn_head.py

Co-authored-by: Jerry Jiarui XU <xvjiarui0826@gmail.com>

* Docstrings fixed.

* Docstrings fixed.

* Inverted Residual kept coherent with mmcl.

* Inverted Residual kept coherent with mmcl. Debug 0

* _make_layer parameters renamed.

* final commit

* Arg scale_factor deleted.

* Expand_ratio docstrings updated.

* final commit

* Readme for Fast-SCNN added.

* model-zoo.md modified.

* fast_scnn README updated.

* Move InvertedResidual module into mmseg/utils.

* test_inverted_residual module corrected.

* test_inverted_residual.py moved.

* encoder_decoder modified to avoid bugs when running PSPNet.
getting_started.md bug fixed.

* Revert "encoder_decoder modified to avoid bugs when running PSPNet. "

This reverts commit dd0aadfb

Co-authored-by: Jerry Jiarui XU <xvjiarui0826@gmail.com>
2020-08-18 23:33:05 +08:00
.dev init commit 2020-07-10 02:39:01 +08:00
.github Add pytorch 1.6 CI (#64) 2020-08-12 18:55:40 +08:00
configs Fast-SCNN implemented (#58) 2020-08-18 23:33:05 +08:00
demo Add Colab Tutorial (#7) 2020-07-10 16:55:47 +08:00
docker Add Colab Tutorial (#7) 2020-07-10 16:55:47 +08:00
docs Fast-SCNN implemented (#58) 2020-08-18 23:33:05 +08:00
mmseg Fast-SCNN implemented (#58) 2020-08-18 23:33:05 +08:00
requirements Add pypi deployment (#11) 2020-07-13 20:54:32 +08:00
resources init commit 2020-07-10 02:39:01 +08:00
tests Fast-SCNN implemented (#58) 2020-08-18 23:33:05 +08:00
tools add pytorch2onnx part (#12) 2020-08-14 03:28:21 +08:00
.gitignore Auto get version info and git hash (#55) 2020-08-11 19:23:35 +08:00
.pre-commit-config.yaml init commit 2020-07-10 02:39:01 +08:00
.readthedocs.yml Add Colab Tutorial (#7) 2020-07-10 16:55:47 +08:00
LICENSE init commit 2020-07-10 02:39:01 +08:00
README.md Support ResNeSt backbone (#47) 2020-08-17 00:54:01 +08:00
pytest.ini init commit 2020-07-10 02:39:01 +08:00
requirements.txt Add pypi deployment (#11) 2020-07-13 20:54:32 +08:00
setup.cfg add pytorch2onnx part (#12) 2020-08-14 03:28:21 +08:00
setup.py Auto get version info and git hash (#55) 2020-08-11 19:23:35 +08:00

README.md


PyPI docs badge codecov license

Documentation: https://mmsegmentation.readthedocs.io/

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.3 to 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.

License

This project is released under the Apache 2.0 license.

Changelog

v0.5.1 was released in 11/08/2020. Please refer to changelog.md for details and release history.

Benchmark and model zoo

Results and models are available in the model zoo.

Supported backbones:

Supported methods:

Installation

Please refer to INSTALL.md for installation and dataset preparation.

Get Started

Please see getting_started.md for the basic usage of MMSegmentation. There are also tutorials for adding new dataset, designing data pipeline, and adding new modules.

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

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.