Skip to content

Commit 8a611e1

Browse files
authored
Merge pull request open-mmlab#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
2 parents 0c87f7a + 750bb4f commit 8a611e1

File tree

78 files changed

+3088
-184
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+3088
-184
lines changed

.circleci/test.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,9 @@ jobs:
6161
command: |
6262
pip install git+https://github.com/open-mmlab/mmengine.git@main
6363
pip install -U openmim
64-
mim install 'mmcv>=2.0.0rc1'
64+
mim install 'mmcv>=2.0.0rc3'
6565
pip install git+https://github.com/open-mmlab/[email protected]
66+
pip install git+https://github.com/open-mmlab/[email protected]
6667
pip install -r requirements/tests.txt -r requirements/optional.txt
6768
- run:
6869
name: Build and install
@@ -96,18 +97,20 @@ jobs:
9697
command: |
9798
git clone -b main --depth 1 https://github.com/open-mmlab/mmengine.git /home/circleci/mmengine
9899
git clone -b dev-1.x --depth 1 https://github.com/open-mmlab/mmclassification.git /home/circleci/mmclassification
100+
git clone -b dev-3.x --depth 1 https://github.com/open-mmlab/mmdetection.git /home/circleci/mmdetection
99101
- run:
100102
name: Build Docker image
101103
command: |
102104
docker build .circleci/docker -t mmseg:gpu --build-arg PYTORCH=<< parameters.torch >> --build-arg CUDA=<< parameters.cuda >> --build-arg CUDNN=<< parameters.cudnn >>
103-
docker run --gpus all -t -d -v /home/circleci/project:/mmseg -v /home/circleci/mmengine:/mmengine -v /home/circleci/mmclassification:/mmclassification -w /mmseg --name mmseg mmseg:gpu
105+
docker run --gpus all -t -d -v /home/circleci/project:/mmseg -v /home/circleci/mmengine:/mmengine -v /home/circleci/mmclassification:/mmclassification -v /home/circleci/mmdetection:/mmdetection -w /mmseg --name mmseg mmseg:gpu
104106
- run:
105107
name: Install mmseg dependencies
106108
command: |
107109
docker exec mmseg pip install -e /mmengine
108110
docker exec mmseg pip install -U openmim
109-
docker exec mmseg mim install 'mmcv>=2.0.0rc1'
111+
docker exec mmseg mim install 'mmcv>=2.0.0rc3'
110112
docker exec mmseg pip install -e /mmclassification
113+
docker exec mmseg pip install -e /mmdetection
111114
docker exec mmseg pip install -r requirements/tests.txt -r requirements/optional.txt
112115
- run:
113116
name: Build and install

.github/workflows/lint.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ jobs:
2020
python -m pip install pre-commit
2121
pre-commit install
2222
- name: Linting
23-
run: |
24-
sudo apt-add-repository ppa:brightbox/ruby-ng -y
25-
sudo apt-get update
26-
sudo apt-get install -y ruby2.7
27-
pre-commit run --all-files
23+
run: pre-commit run --all-files
2824
- name: Check docstring coverage
2925
run: |
3026
python -m pip install interrogate

.github/workflows/merge_stage_test.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ jobs:
4444
python -V
4545
pip install -U openmim
4646
pip install git+https://github.com/open-mmlab/mmengine.git
47-
mim install 'mmcv>=2.0.0rc1'
47+
mim install 'mmcv>=2.0.0rc3'
4848
pip install git+https://github.com/open-mmlab/[email protected]
49+
pip install git+https://github.com/open-mmlab/[email protected]
4950
- name: Install unittest dependencies
5051
run: pip install -r requirements/tests.txt -r requirements/optional.txt
5152
- name: Build and install
@@ -92,8 +93,9 @@ jobs:
9293
python -V
9394
pip install -U openmim
9495
pip install git+https://github.com/open-mmlab/mmengine.git
95-
mim install 'mmcv>=2.0.0rc1'
96+
mim install 'mmcv>=2.0.0rc3'
9697
pip install git+https://github.com/open-mmlab/[email protected]
98+
pip install git+https://github.com/open-mmlab/[email protected]
9799
- name: Install unittest dependencies
98100
run: pip install -r requirements/tests.txt -r requirements/optional.txt
99101
- name: Build and install
@@ -155,8 +157,9 @@ jobs:
155157
python -V
156158
pip install -U openmim
157159
pip install git+https://github.com/open-mmlab/mmengine.git
158-
mim install 'mmcv>=2.0.0rc1'
160+
mim install 'mmcv>=2.0.0rc3'
159161
pip install git+https://github.com/open-mmlab/[email protected]
162+
pip install git+https://github.com/open-mmlab/[email protected]
160163
- name: Install unittest dependencies
161164
run: pip install -r requirements/tests.txt -r requirements/optional.txt
162165
- name: Build and install
@@ -187,8 +190,9 @@ jobs:
187190
python -V
188191
pip install -U openmim
189192
pip install git+https://github.com/open-mmlab/mmengine.git
190-
mim install 'mmcv>=2.0.0rc1'
193+
mim install 'mmcv>=2.0.0rc3'
191194
pip install git+https://github.com/open-mmlab/[email protected]
195+
pip install git+https://github.com/open-mmlab/[email protected]
192196
- name: Install unittest dependencies
193197
run: pip install -r requirements/tests.txt -r requirements/optional.txt
194198
- name: Build and install

.github/workflows/pr_stage_test.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ jobs:
4040
run: |
4141
pip install -U openmim
4242
pip install git+https://github.com/open-mmlab/mmengine.git
43-
mim install 'mmcv>=2.0.0rc1'
43+
mim install 'mmcv>=2.0.0rc3'
4444
pip install git+https://github.com/open-mmlab/[email protected]
45+
pip install git+https://github.com/open-mmlab/[email protected]
4546
- name: Install unittest dependencies
4647
run: pip install -r requirements/tests.txt -r requirements/optional.txt
4748
- name: Build and install
@@ -92,8 +93,9 @@ jobs:
9293
python -V
9394
pip install -U openmim
9495
pip install git+https://github.com/open-mmlab/mmengine.git
95-
mim install 'mmcv>=2.0.0rc1'
96+
mim install 'mmcv>=2.0.0rc3'
9697
pip install git+https://github.com/open-mmlab/[email protected]
98+
pip install git+https://github.com/open-mmlab/[email protected]
9799
- name: Install unittest dependencies
98100
run: pip install -r requirements/tests.txt -r requirements/optional.txt
99101
- name: Build and install
@@ -124,8 +126,9 @@ jobs:
124126
python -V
125127
pip install -U openmim
126128
pip install git+https://github.com/open-mmlab/mmengine.git
127-
mim install 'mmcv>=2.0.0rc1'
129+
mim install 'mmcv>=2.0.0rc3'
128130
pip install git+https://github.com/open-mmlab/[email protected]
131+
pip install git+https://github.com/open-mmlab/[email protected]
129132
- name: Install unittest dependencies
130133
run: pip install -r requirements/tests.txt -r requirements/optional.txt
131134
- name: Build and install

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ venv.bak/
105105
# mypy
106106
.mypy_cache/
107107

108+
data
108109
.vscode
109110
.idea
110111

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
repos:
2-
- repo: https://gitlab.com/pycqa/flake8.git
2+
- repo: https://github.com/PyCQA/flake8
33
rev: 5.0.4
44
hooks:
55
- id: flake8

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,10 @@ The 1.x branch works with **PyTorch 1.6+**.
6262

6363
## What's New
6464

65-
v1.0.0rc1 was released in 2/11/2022.
65+
v1.0.0rc2 was released in 6/12/2022.
6666
Please refer to [changelog.md](docs/en/notes/changelog.md) for details and release history.
6767

68-
- Support PoolFormer ([#2191](https://github.com/open-mmlab/mmsegmentation/pull/2191))
69-
- Add Decathlon dataset ([#2227](https://github.com/open-mmlab/mmsegmentation/pull/2227))
68+
- Support MaskFormer and Mask2Former ([#2215](https://github.com/open-mmlab/mmsegmentation/pull/2215), [2255](https://github.com/open-mmlab/mmsegmentation/pull/2255))
7069

7170
## Installation
7271

@@ -139,6 +138,8 @@ Supported methods:
139138
- [x] [Segmenter (ICCV'2021)](configs/segmenter)
140139
- [x] [SegFormer (NeurIPS'2021)](configs/segformer)
141140
- [x] [K-Net (NeurIPS'2021)](configs/knet)
141+
- [x] [MaskFormer (NeurIPS'2021)](configs/maskformer)
142+
- [x] [Mask2Former (CVPR'2022)](configs/mask2former)
142143

143144
Supported datasets:
144145

@@ -194,6 +195,7 @@ This project is released under the [Apache 2.0 license](LICENSE).
194195
- [MMEngine](https://github.com/open-mmlab/mmengine): OpenMMLab foundational library for training deep learning models
195196
- [MMCV](https://github.com/open-mmlab/mmcv): OpenMMLab foundational library for computer vision.
196197
- [MIM](https://github.com/open-mmlab/mim): MIM installs OpenMMLab packages.
198+
- [MMEval](https://github.com/open-mmlab/mmeval): A unified evaluation library for multiple machine learning libraries.
197199
- [MMClassification](https://github.com/open-mmlab/mmclassification): OpenMMLab image classification toolbox and benchmark.
198200
- [MMDetection](https://github.com/open-mmlab/mmdetection): OpenMMLab detection toolbox and benchmark.
199201
- [MMDetection3D](https://github.com/open-mmlab/mmdetection3d): OpenMMLab's next-generation platform for general 3D object detection.

README_zh-CN.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ MMSegmentation 是一个基于 PyTorch 的语义分割开源工具箱。它是 O
6161

6262
## 更新日志
6363

64-
最新版本 v1.0.0rc1 在 2022.11.2 发布。
64+
最新版本 v1.0.0rc2 在 2022.12.6 发布。
6565
如果想了解更多版本更新细节和历史信息,请阅读[更新日志](docs/en/notes/changelog.md)
6666

6767
## 安装
@@ -134,6 +134,8 @@ MMSegmentation 是一个基于 PyTorch 的语义分割开源工具箱。它是 O
134134
- [x] [Segmenter (ICCV'2021)](configs/segmenter)
135135
- [x] [SegFormer (NeurIPS'2021)](configs/segformer)
136136
- [x] [K-Net (NeurIPS'2021)](configs/knet)
137+
- [x] [MaskFormer (NeurIPS'2021)](configs/maskformer)
138+
- [x] [Mask2Former (CVPR'2022)](configs/mask2former)
137139

138140
已支持的数据集:
139141

@@ -186,6 +188,7 @@ MMSegmentation 是一个由来自不同高校和企业的研发人员共同参
186188
- [MMEngine](https://github.com/open-mmlab/mmengine): OpenMMLab 深度学习模型训练库
187189
- [MMCV](https://github.com/open-mmlab/mmcv): OpenMMLab 计算机视觉基础库
188190
- [MIM](https://github.com/open-mmlab/mim): MIM 是 OpenMMlab 项目、算法、模型的统一入口
191+
- [MMEval](https://github.com/open-mmlab/mmeval): 统一开放的跨框架算法评测库
189192
- [MMClassification](https://github.com/open-mmlab/mmclassification): OpenMMLab 图像分类工具箱
190193
- [MMDetection](https://github.com/open-mmlab/mmdetection): OpenMMLab 目标检测工具箱
191194
- [MMDetection3D](https://github.com/open-mmlab/mmdetection3d): OpenMMLab 新一代通用 3D 目标检测平台

0 commit comments

Comments
 (0)