Mmsegmentation

Latest version: v1.2.2

Safety actively analyzes 683530 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 9

1.1.2

1.1.1

1.1.0

1.0.004

Highlights

We are excited to announce the release of MMSegmentation v1.0.0 as a part of the OpenMMLab 2.0 project! MMSegmentation v1.0.0 introduces an updated framework structure for the core package and a new section called "Projects". This section showcases a range of engaging and versatile applications built upon the MMSegmentation foundation.

![mmseg_release drawio](https://user-images.githubusercontent.com/15952744/232992595-33136742-3f07-4110-91c9-bcc0894ed82e.png)

In this latest release, we have significantly refactored the core package's code to make it clearer, more comprehensible, and disentangled. This has resulted in improved performance for several existing algorithms, ensuring that they now outperform their previous versions. Additionally, we have incorporated some cutting-edge algorithms, such as PIDNet and SegNeXt, to further enhance the capabilities of MMSegmentation and provide users with a more comprehensive and powerful toolkit.
The new "Projects" section serves as an essential addition to MMSegmentation, created to foster innovation and collaboration among users.

Exciting Features

Inferencer

In this release, we introduce the MMSegInferencer, a versatile API for inference that accommodates multiple input types. The API enables users to easily specify and customize semantic segmentation models, streamlining the process of performing semantic segmentation with MMSegmentation.

Usage:

shell
python demo/image_demo_with_inferencer.py ${IMAGE} ${MODEL} --show --device ${DEVICE}


Optimizations

In addition to new features, MMSegmentation v1.0.0 delivers key optimizations for an enhanced user experience.

PyTorch 2.0 Compatibility

1.0.0

| Model | Training Speed |
|:-----:|:-----------:|

1.0.0rc603

Highlights

- Support MMSegInferencer ([2413](https://github.com/open-mmlab/mmsegmentation/pull/2413), [#2658](https://github.com/open-mmlab/mmsegmentation/pull/2658)), which is a easy-to-use hight level api for model inference.
python
>>> from mmseg.apis import MMSegInferencer
>>> Initialize an inference
>>> inferencer = MMSegInferencer(model='deeplabv3plus_r18-d8_4xb2-80k_cityscapes-512x1024')
>>> Inference
>>> inferencer('demo/demo.png', show=True)
>>> Get all models in MMSegmentation
>>> models = MMSegInferencer.list_models('mmseg')

- Support REFUGE dataset ([2554](https://github.com/open-mmlab/mmsegmentation/pull/2554))

Features

- Add browse_dataset.py script in `mmsegmentation/tools/` ([2649](https://github.com/open-mmlab/mmsegmentation/pull/2649))
- Support auto import modules from registry ([2481](https://github.com/open-mmlab/mmsegmentation/pull/2481))
- Replace numpy ascontiguousarray with torch contiguous to speed-up ([2604](https://github.com/open-mmlab/mmsegmentation/pull/2604))

Bug fix

- Rename and Fix bug of projects HieraSeg ([2565](https://github.com/open-mmlab/mmsegmentation/pull/2565))
- Add out_channels in `CascadeEncoderDecoder` and update OCRNet and MobileNet v2 results ([2656](https://github.com/open-mmlab/mmsegmentation/pull/2656))

Documentation

- Add dataflow documentation of Chinese version ([2652](https://github.com/open-mmlab/mmsegmentation/pull/2652))
- Add customized runtime documentation of English version ([2533](https://github.com/open-mmlab/mmsegmentation/pull/2533))
- Add documentation for visualizing feature map using wandb backend ([2557](https://github.com/open-mmlab/mmsegmentation/pull/2557))
- Add documentation for benchmark results on NPU (HUAWEI Ascend) ([2569](https://github.com/open-mmlab/mmsegmentation/pull/2569), [#2596](https://github.com/open-mmlab/mmsegmentation/pull/2596), [#2610](https://github.com/open-mmlab/mmsegmentation/pull/2610))
- Fix API name error in the migration doc ([2601](https://github.com/open-mmlab/mmsegmentation/pull/2601))
- Refine projects documentation ([2586](https://github.com/open-mmlab/mmsegmentation/pull/2586))
- Refine MMSegmentation documentation ([2668](https://github.com/open-mmlab/mmsegmentation/pull/2668), [#2659](https://github.com/open-mmlab/mmsegmentation/pull/2659))

New Contributors

- zccjjj made their first contribution in https://github.com/open-mmlab/mmsegmentation/pull/2548
- liuruiqiang made their first contribution in https://github.com/open-mmlab/mmsegmentation/pull/2554
- wangjiangben-hw made their first contribution in https://github.com/open-mmlab/mmsegmentation/pull/2569
- jinxianwei made their first contribution in https://github.com/open-mmlab/mmsegmentation/pull/2557

Page 2 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.