Commit Graph

914 Commits (c923f4d25b66544bc18bc7a1355b153f0d4003bf)
 

Author SHA1 Message Date
Tianlong Ai e394e2aa28
CodeCamp #1555[Feature] Support Mapillary Vistas Dataset (#2484)
## Support `Mapillary Vistas Dataset`

## Motivation

Support  **`Mapillary Vistas Dataset`**
Dataset Paper link : https://ieeexplore.ieee.org/document/9878466/
Download and more information view
https://www.mapillary.com/dataset/vistas
```
@InProceedings{Neuhold_2017_ICCV,
author = {Neuhold, Gerhard and Ollmann, Tobias and Rota Bulo, Samuel and Kontschieder, Peter},
title = {The Mapillary Vistas Dataset for Semantic Understanding of Street Scenes},
booktitle = {Proceedings of the IEEE International Conference on Computer Vision (ICCV)},
month = {Oct},
year = {2017}
}
```

## Modification

Add `Mapillary_dataset` in `mmsegmentation/projects`
Add `configs/_base_/mapillary_v1_2.py` and
`configs/_base_/mapillary_v2_0.py`
Add `configs/deeplabv3plus_r18-d8_4xb2-80k_mapillay-512x1024.py` to test
training and testing on Mapillary datasets
Add `docs/en/user_guides/2_dataset_prepare.md` , add Mapillary Vistas
Dataset Preparing and Structure.
Add `tools/dataset_converters/mapillary.py` to convert RGB labels to
Mask labels.

Co-authored-by: 谢昕辰 <xiexinch@outlook.com>
2023-01-20 14:25:51 +08:00
MengzhangLI f678a5c974
[Doc] Add ZN Customized_runtime Doc in dev-1.x (#2502)
Old PR: https://github.com/open-mmlab/mmsegmentation/pull/2169
2023-01-19 16:29:56 +08:00
MengzhangLI c2ba8ebac1
[Fix][Doc] Fix link of preprocessing and order of operations in ZN dataset.md doc. (#2494)
## Motivation

Ref:
https://github.com/open-mmlab/mmsegmentation/pull/2464#discussion_r1072211706

Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
2023-01-19 14:26:26 +08:00
Vladimir Loginov 6d8ba3b5a0
Update basesegdataset.py (#2492)
## Motivation

Makes docstring to be consistent with actual argument name.

## Modification

Minor fix

## BC-breaking (Optional)

No
2023-01-17 20:18:46 +08:00
谢昕辰 d505ec1c94
[Doc] Fix API document (#2483)
## Motivation

As title.

## Modification

- docs/en/api.rst
- docs/zh_cn/api.rst
- add `scipy` to readthedocs requirement.
2023-01-13 20:06:30 +08:00
Tianlong Ai ce09639a21
CodeCamp #151[Feature] Support HieraSeg on cityscapes (#2444)
## Support `HieraSeg` interface on `cityscapes`

## Motivation

Support `HieraSeg` interface on cityscapes dataset  
Paper link : https://ieeexplore.ieee.org/document/9878466/

```
@article{li2022deep,
  title={Deep Hierarchical Semantic Segmentation},
  author={Li, Liulei and Zhou, Tianfei and Wang, Wenguan and Li, Jianwu and Yang, Yi},
  journal={CVPR},
  year={2022}
}
```

## Modification

Add `HieraSeg_Projects` on `projects/`
Add `sep_aspp_contrast_head` decoder head.
Add `HieraSeg` config.
Add `hiera_loss`, `hiera_triplet_loss_cityscape`, `tree_triplet_loss`
2023-01-12 17:12:40 +08:00
Wencheng Wu 8dae9465a6
[Feature] Add `gt_edge_map` field. (#2466)
## Motivation

The motivation of this PR is to add `gt_edge_map` field to support
boundary loss.

## Modification

- GenerateEdge
Modify `gt_edge` field to `gt_edge_map`.

- PackSegInputs
Add `gt_edge_map` to data_sample.

- stack_batch
Pad `gt_edge_map` to max_shape.

## BC-breaking (Optional)

No

## Use cases (Optional)

Reference `GenerateEdge`.
2023-01-11 11:51:29 +08:00
MengzhangLI 546f3b5b20
[Doc] Update ZN dataset preparation of Synapse (#2465)
## Motivation
- Add Chinese version of Synapse dataset preparation.
- Modify all `,` and `。` to `,` and `.` in
`docs/zh_cn/user_guides/2_dataset_prepare.md`.
2023-01-11 11:50:47 +08:00
谢昕辰 f90f7a56d4
[Fix] Fix incorrect `img_shape` value assignment in RandomCrop (#2469)
## Motivation

Fix incorrect `img_shape` value assignment.

## Modification

- mmseg/datasets/transforms/transforms.py
2023-01-10 18:03:43 +08:00
Miao Zheng 4e759bb1d2
[CI] Remove test py3.6 (#2468)
## Motivation

as title

## Modification

1. .circleci/test.yml
2. .github/workflows/merge_stage_test.yml
2023-01-10 17:11:59 +08:00
谢昕辰 0238d02c48
[Doc] Add checklist of ISNet (#2460)
## Motivation

As title. 

## Modification

- projects/isnet/README.md
2023-01-09 13:09:23 +08:00
王永韬 2d67e51db3
CodeCamp #140 [New] [Feature] Add synapse dataset and data augmentation in dev-1.x. (#2432)
## Motivation

Add Synapse dataset in MMSegmentation.
Old PR: https://github.com/open-mmlab/mmsegmentation/pull/2372.
2023-01-06 16:14:54 +08:00
unrealMJ bd29c20778
CodeCamp #150 [Feature] Add ISNet (#2400)
## Motivation

Support ISNet.
paper link: [ISNet: Integrate Image-Level and Semantic-Level Context for
Semantic
Segmentation](https://openaccess.thecvf.com/content/ICCV2021/papers/Jin_ISNet_Integrate_Image-Level_and_Semantic-Level_Context_for_Semantic_Segmentation_ICCV_2021_paper.pdf)

## Modification

Add ISNet decoder head.
Add ISNet config.
2023-01-04 20:39:03 +08:00
legendchilli 6af2b8eab9
[Feature] Add BioMedical3DPad (#2383)
## Motivation
Add the 3d pad transform for biomedical images, which follows the design
of the nnUNet.
2023-01-03 13:37:48 +08:00
Fivethousand 3ca690bad3
[Feature] Add BioMedicalRandomGamma (#2406)
Add the random gamma correction transform for biomedical images, which
follows the design of the nnUNet.
2023-01-02 21:29:03 +08:00
Haoyu Wang 26f3df7a45
[Feature] nnUNet-style Gaussian Noise and Blur (#2373)
## Motivation

implement nnUNet-style Gaussian Noise and Blur
2023-01-02 20:43:15 +08:00
MeowZheng 721c72073d Merge branch 'dev-1.x' into 1.x 2022-12-31 18:17:43 +08:00
Miao Zheng 6eb1a95a48
Bump 1.0.0rc3 (#2446)
## Motivation

To release 1.0.0rc3  

## Modification

1. Modify mmseg version 
2. Add change log
3. Modify README
4. Modify faq 
5. Revise docker file
2022-12-31 18:15:56 +08:00
Miao Zheng e727e92ac6
[Fix]Fix pt version for merge stage test (#2449)
## Motivation

The conflict is caused by:
    The user requested torch==1.12.1+cpu
    torchvision 0.13.0+cpu depends on torch==1.12.0

## Modification

modify the torch==1.12.0+cpu
2022-12-31 17:38:33 +08:00
Miao Zheng d88f393ffa
[Fix] Remove dependcy mmdet when do not use `MaskFormerHead` and `MMDET_Mask2FormerHead` (#2448)
## Motivation

Calling `mmseg.utils.register_all_modules` will import `MaskFormerHead`
and `Mask2FormerHead`, it will crash if mmdet is not installed as `None`
cannot be initialized.

## Modification

- Modify `MMDET_MaskFormerHead=BaseModule` and `MMDET_Mask2FormerHead =
BaseModule` when cannot import from mmdet
2022-12-31 01:02:58 +08:00
谢昕辰 115552d5ea update tta docs (#2335) 2022-12-30 22:52:07 +08:00
谢昕辰 da4125587e [Refactor] Support TTA (#2184)
* tta init

* use mmcv transform

* test city

* add multiscale

* fix merge

* add softmax to post process

* add ut

* add tta pipeline to other datasets

* remove softmax

* add encoder_decoder_tta ut

* add encoder_decoder_tta ut

* rename

* rename file

* rename config

* rm aug_test

* move flip to post process

* fix channel
2022-12-30 22:52:07 +08:00
haofeng 20a6c58478 add pspnet model structure graph (#2437) 2022-12-30 22:52:07 +08:00
MengzhangLI 3aa5c8cf84 [Doc] Change some content from customize_runtime to engine ZN doc (#2341)
* [Doc] Change some content from customize_runtime to engine ZN doc

* fix comments

* add customize runtime setting zn doc

* move optimizer content into one section

* fix

* fix

* fix

* fix
2022-12-30 22:52:07 +08:00
Jin Ye 79e8578bfc [Feature] Add Biomedical 3D array random crop transform (#2378)
* [Feature] Add Biomedical 3D array random crop transform

* fix lint

* fix gen crop bbox

* fix gen crop bbox

* docstring

* typo

Co-authored-by: MeowZheng <meowzheng@outlook.com>
2022-12-30 22:52:07 +08:00
谢昕辰 ad99ad1444 [Doc] Add dataflow document (#2403)
* draft

* update loss

* update

* add runner

* add steps

* update
2022-12-30 22:52:07 +08:00
xiexinch 2843faa6b5 [Projects] Add 'Projects/' folder, and the first example project (#2412)
add example project

add ci ignore

add version limits
2022-12-30 22:52:07 +08:00
tianlei 4eb366b07c CodeCamp #1565 [Doc] update the Chinese version of get_started.md (#2417)
* DOC

Update docs/zh_cn/get_started.md

Co-authored-by: 谢昕辰 <xiexinch@outlook.com>
2022-12-30 22:52:07 +08:00
MengzhangLI 3001e93512 [Doc] Add ZN datasets.md in dev-1.x (#2387)
* [Doc] Add ZN datasets.md in dev-1.x

* fix typo

* fix

* fix
2022-12-30 22:52:07 +08:00
xiexinch f4dad5f921 [CI] Add torch1.13 checking in CI (#2402)
* Add torch1.13 in CI

* use mim install mm packages

* install all requirements

* install wheel

* add ref
2022-12-30 22:52:07 +08:00
tianlei ad2fdc3702 CodeCamp #1562 [Doc] Add Chinese version of overview.md (#2397)
* CodeCamp #1562 [Doc] update `overview.md`

* Update overview.md

* Update docs/zh_cn/overview.md

Co-authored-by: 谢昕辰 <xiexinch@outlook.com>

* Update docs/zh_cn/overview.md

Co-authored-by: 谢昕辰 <xiexinch@outlook.com>
2022-12-30 22:52:07 +08:00
BLUE-coconut 82a48ce1bf CodeCamp #147 [Doc] Add Chinese version of train & test tutorial (2355)
doc

modify part of content

changed parts of content

modified

Update docs/zh_cn/user_guides/4_train_test.md

Co-authored-by: 谢昕辰 <xiexinch@outlook.com>
2022-12-30 22:52:07 +08:00
pofengdenihong 665fa4c736 CodeCamp #144 [Doc] Chinese version of config tutorial (2371)
* [Doc]Translate the 1_config.md and modify a wrong statement in 1_config.md

* Translate the 1_config.md and modify a wrong statement in 1_config.md

* Modify some expressions

* Apply suggestions from code review
2022-12-30 22:51:19 +08:00
Miao Zheng 8a611e122d
Merge pull request #2385 from open-mmlab/dev-1.x
Merge MMSegmentation 1.x development branch dev-1.x to main branch 1.x for v1.0.0rc2
2022-12-06 17:11:02 +08:00
Miao Zheng 750bb4f180
Bump 1.0.0rc2 (#2384)
* Bump 1.0.0rc2

* typo
2022-12-06 16:32:52 +08:00
nulam 3bac6ef5a4
Fix typo in warning on binary classification (#2382) 2022-12-06 11:29:11 +08:00
Miao Zheng f3db8d779d
[Fix]Add input argument for datasets (#2379) 2022-12-05 22:27:04 +08:00
谢昕辰 163277bfe0
[Feature] Support Mask2former in MMSeg 1.x (#2255)
* init commits

* fix crop size

* add seg_data2instance_data method

* add ut and update requirement

* update configs and readme

* add model-indel

* update optional requirements

* fix results

* fix lint error

* update results

* update results

* remove mmdet from requirements/optional.txt

* use try import and update README

* add docstring to overwrtied method

* minor change

Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
2022-12-05 18:34:24 +08:00
MengzhangLI 933e4d3cb6
[Feature] Support MaskFormer(NeurIPS'2021) in MMSeg 1.x (#2215)
* [Feature] Support MaskFormer(NeurIPS'2021) in MMSeg 1.x

* add mmdet try except logic

* refactor config files

* add readme

* fix config

* update models & logs

* add MMDET installation and fix info

* fix comments

* fix

* fix config norm optimizer setting

* update models & logs & unittest

* add docstring of MaskFormerHead

* wait for mmdet 3.0.0rc4

* replace seg_mask with seg_logits & add docstring for batch_input_shape

* use mmdet3.0.0rc4

* fix readme and modify config comments

* add mmdet installation in pr_stage_test.yml

* update mmcv version in pr_stage_test.yml

* add mmdet in build_cpu of pr_stage_test.yml

* modify mmdet& mmcv installation in merge_stage_test.yml

* fix typo

* update test.yml

* update test.yml
2022-12-01 19:03:10 +08:00
谢昕辰 925faea5bf
[Fix] Fix the problem of post-processing not removing padding (#2367)
* add img_padding_size

* minor change

* add pad_shape to data_samples
2022-12-01 16:35:39 +08:00
MengzhangLI 90c816b6de
[Enchancement] Delete mmcls in runtime.txt in dev-1.x (#2368)
* [Enchancement] Delete mmcls in runtime.txt in dev-1.x

* fix mmcv minimal version
2022-12-01 16:35:22 +08:00
Miao Zheng 0cdab7297e
Merge pull request #2339 from xiexinch/resize-shortest-edge
[Feature] Add ResizeShortestEdge transform
2022-12-01 16:06:23 +08:00
xiexinch 3b731edbd3 update copyright 2022-12-01 13:58:17 +08:00
xiexinch 5a62b0335f fix h,w order 2022-12-01 11:25:00 +08:00
Miao Zheng 383826fec9
Merge pull request #2362 from MengzhangLI/scipy_1.x
[Enhance] Make scipy as a default dependency in runtime in dev-1.x
2022-11-30 23:14:01 +08:00
MengzhangLI 925110044c [Enhance] Make scipy as a default dependency in runtime in dev-1.x 2022-11-30 21:51:38 +08:00
MengzhangLI e98231ba5f [Enhance] Make scipy as a default dependency in runtime 1.x 2022-11-30 20:11:14 +08:00
Miao Zheng aefcab3749
Merge pull request #2298 from matrixgame2018/patch-1
[Doc] Translate the visualization.md
2022-11-29 19:25:32 +08:00
xiexinch 6d3464a613 fix lint 2022-11-29 19:20:25 +08:00
MingJian.L ccc20052ee
Update visualization.md 2022-11-29 18:49:14 +08:00