Skip to content

[feature] add MaskFormer to mmdet#6607

Closed
chhluo wants to merge 168 commits intoopen-mmlab:devfrom
chhluo:maskformer_v2
Closed

[feature] add MaskFormer to mmdet#6607
chhluo wants to merge 168 commits intoopen-mmlab:devfrom
chhluo:maskformer_v2

Conversation

@chhluo
Copy link
Copy Markdown
Collaborator

@chhluo chhluo commented Nov 28, 2021

Motivation

Add MaskFormer to mmdet.

Modification

- panoptic single stage segmentor
- maskformer segmentor
- maskformer head
- mask hungrarian assigner
- match cost: BinaryDiceCost, MaskFocalLossCost
- mask pseudo sampler, mask sample result (copy from  https://github.com/ZwwWayne/K-Net/blob/main/knet/det/mask_pseudo_sampler.py)
- two config files: 
  - maskformer_r50_mstrain_64x1_300e_coco, 
  - maskformer_swin-t-p4-w7_mstrain_64x1_300e_coco (Runtime error may appear, haven't been solved yet, ):, be careful when train model with this config file.)

BC-breaking (Optional)

Use cases (Optional)

Checklist

  1. Pre-commit or other linting tools are used to fix the potential lint issues.
  2. The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
  3. If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDet or MMCls.
  4. The documentation has been modified accordingly, like docstring or example tutorials.

Czm369 and others added 28 commits February 21, 2022 10:59
…pen-mmlab#6715 (open-mmlab#7015)

* Add coco dataset download script 

You can use command "python tools/download.py --win --unzip" to download coco dataset.
Linux for using command "python tools/download.py  --unzip"

* Add coco dataset download script

* Add coco dataset download script

* Add coco dataset download script

* add some notes and modify dataset urls

* add some notes and modify dataset urls

* remove some useless lines and modify urls list to dict

* add urls of lvis and voc, and delete --win

* add parse_args()

* Add documentation of this tool in docs/en/1_exist_data_model.md, docs/zh_cn/1_exist_data_model.md and docs/en/useful_tools.md.

* add a link

* Download files regardless of system。

* Use get() of dict

* add empty line above the code block

* Update useful_tools.md

Co-authored-by: q3394101 <92794867+q3394101@users.noreply.github.com>
Co-authored-by: q3394101 <3394101@qq.com>
Co-authored-by: Wenwei Zhang <40779233+ZwwWayne@users.noreply.github.com>
…lab#7036)

* [Enhance] Add setup multi-processing both in train and test.

* switch to torch mp
* add overview of benchmark and model zoo

* Changed tree/master link to configs folder reference

* Changed the format of the table

* Moved Heads item to Object Detection table and delete the Heads table

* Delete unnecessary comments

* Add TOOD (ICCV'2021)

* Rename Architectures to Algorithms

* Fix centering for Algorithms and Components

* Create "Other", and add "Common"
…ab#7019)

* Fix bug in non-distributed training/testing

* Add deprecated message
* regularize README.md

* Check README.md. Check backbone metafile

* Check backbone metafile

* Add metafile for some algorithm

* Change pre-commit-hooks

Change pre-commit-hooks to open-mmlab

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* Add new metafile in model-index.yml

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
bbox A's assigned_gt_inds will be overwritten to be bbox 2 instead of bbox B (In the previous content, bbox B was not mentioned).
* add check link script

* fix comment
Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com>
* bump version to v2.21.0

* update

* update breaking changes

* update
* upgrade isort to v5.10.1

* replace known_standard_library with extra_standard_library

* upgrade isort to v5.10.1

replace known_standard_library with extra_standard_library

* imports order changes
* add TIMMBackbone

based on
open-mmlab/mmpretrain#427
open-mmlab/mmsegmentation#998

* update and clean

* fix unit test

* Revert

* add example configs
fix some typo

Co-authored-by: PJLAB\huanghaian <1286304229@qq.com>
…7081) (open-mmlab#7083)

* add comments for bbox clamp

* add CI of pytorch1.10

* add ci of pytorch1.10.1

* mmcv1.9.0->mmcv1.9

* add ci of pytorch1.10
* Add code owners

Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com>

* Update code owners

Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com>
…#7041)

* First commit of v2

* split the functions

* Support to show panoptic result

* temp

* Support to show gt

* support show gt

* fix lint

* Support to browse datasets

* Fix unit tests

* Fix findContours

* fix comments

* Fix pre-commit

* fix lint

* Add the type of an argument
* Added missing property in SABLHead

* set pre-commit-hooks to v0.1.0

* set maskdownlint to v0.11.0

* pre-commit-hooks

Co-authored-by: Cedric Luo <luochunhua1996@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects

Development

Successfully merging this pull request may close these issues.