Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] add Mask2former to mmdet #6938

Merged
merged 1 commit into from
Mar 25, 2022
Merged

Conversation

chhluo
Copy link
Collaborator

@chhluo chhluo commented Jan 1, 2022

This PR Mask2former is based on maskformer's PR(#6607 ).The components of maskformer in mask2former are same with the origin PR(#6607 ).

Motivation

Add a greater panoptic segmentation model to mmdet.

Modification

  • Components in maskformer(not list here).
  • Multi-scale-Deformable-Attention Pixeldecoder.
  • mask2former head and detector.
  • two configs for r50 and swin-tiny.
  • instance segmentation evaluation in CocoPanopticDataset.
evaluation result of mask2former_r50_lsj_8x2_50e_coco
{
'PQ': 51.85113493826705, 'SQ': 83.07220152800042, 'RQ': 61.59141241640433, 'PQ_th': 57.712003700037954, 'SQ_th': 84.06726498653896, 'RQ_th': 68.07799535626707, 'PQ_st': 43.00454058087707, 'SQ_st': 81.57021894907417, 'RQ_st': 51.80034382793225, 
'PQ_copypaste': '51.9 83.1 61.6 57.7 84.1 68.1 43.0 81.6 51.8', 
'bbox_mAP': 0.443, 'bbox_mAP_50': 0.637, 'bbox_mAP_75': 0.477, 'bbox_mAP_s': 0.264, 'bbox_mAP_m': 0.475, 'bbox_mAP_l': 0.632, 
'bbox_mAP_copypaste': '0.443 0.637 0.477 0.264 0.475 0.632', 
'segm_mAP': 0.417, 'segm_mAP_50': 0.64, 'segm_mAP_75': 0.449, 'segm_mAP_s': 0.223, 'segm_mAP_m': 0.454, 'segm_mAP_l': 0.638, 
'segm_mAP_copypaste': '0.417 0.640 0.449 0.223 0.454 0.638'
}
  • processing for instance segmengtation results in test.py.
  • More general version of match cost: DiceCost, MaskFocalLossCost, and the new match cost: CrossEntropyLossCost.
  • bce loss for input and pred which have same shape.

@codecov
Copy link

codecov bot commented Jan 1, 2022

Codecov Report

Merging #6938 (c9ba372) into dev (1a9087b) will increase coverage by 0.50%.
The diff coverage is 93.20%.

❗ Current head c9ba372 differs from pull request most recent head 2ad5723. Consider uploading reports for the commit 2ad5723 to get more accurate results

@@            Coverage Diff             @@
##              dev    #6938      +/-   ##
==========================================
+ Coverage   63.62%   64.13%   +0.50%     
==========================================
  Files         341      345       +4     
  Lines       27585    27928     +343     
  Branches     4660     4699      +39     
==========================================
+ Hits        17552    17911     +359     
+ Misses       9109     9079      -30     
- Partials      924      938      +14     
Flag Coverage Δ
unittests 64.10% <93.20%> (+0.50%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
mmdet/datasets/coco.py 58.22% <ø> (ø)
...ds/panoptic_fusion_heads/maskformer_fusion_head.py 75.82% <75.82%> (ø)
mmdet/models/detectors/maskformer.py 68.57% <95.83%> (+5.41%) ⬆️
mmdet/models/dense_heads/mask2former_head.py 96.68% <96.68%> (ø)
mmdet/models/plugins/msdeformattn_pixel_decoder.py 99.00% <99.00%> (ø)
mmdet/core/bbox/match_costs/__init__.py 100.00% <100.00%> (ø)
mmdet/core/bbox/match_costs/match_cost.py 97.97% <100.00%> (+0.51%) ⬆️
mmdet/core/mask/__init__.py 100.00% <100.00%> (ø)
mmdet/core/mask/utils.py 64.86% <100.00%> (+16.86%) ⬆️
mmdet/datasets/coco_panoptic.py 90.07% <100.00%> (+0.07%) ⬆️
... and 15 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fc8fb16...2ad5723. Read the comment docs.

@chhluo chhluo changed the title Mask2former [Feature] add Mask2former to mmdet Jan 4, 2022
@AronLin AronLin self-requested a review January 5, 2022 06:38
@ZwwWayne ZwwWayne requested a review from jshilong January 5, 2022 16:18
@RangiLyu RangiLyu changed the base branch from master to dev January 17, 2022 08:23
@RangiLyu RangiLyu added enhancement New feature or request planned feature labels Jan 17, 2022
@chhluo chhluo changed the title [Feature] add Mask2former to mmdet [WIP] add Mask2former to mmdet Feb 18, 2022
@chhluo chhluo changed the title [WIP] add Mask2former to mmdet [Feature] add Mask2former to mmdet Feb 20, 2022
@chhluo chhluo force-pushed the mask2former branch 4 times, most recently from 22f29cf to 0bf1c25 Compare March 10, 2022 08:42
@chhluo chhluo requested a review from ZwwWayne March 11, 2022 09:46
mmdet/apis/test.py Outdated Show resolved Hide resolved
mmdet/datasets/coco.py Outdated Show resolved Hide resolved
mmdet/datasets/coco_panoptic.py Show resolved Hide resolved
mmdet/models/dense_heads/mask2former_head.py Outdated Show resolved Hide resolved
mmdet/models/dense_heads/mask2former_head.py Outdated Show resolved Hide resolved
mmdet/models/dense_heads/mask2former_head.py Outdated Show resolved Hide resolved
mmdet/models/losses/cross_entropy_loss.py Outdated Show resolved Hide resolved
mmdet/models/dense_heads/mask2former_head.py Outdated Show resolved Hide resolved
mmdet/models/dense_heads/mask2former_head.py Outdated Show resolved Hide resolved
mmdet/models/dense_heads/mask2former_head.py Outdated Show resolved Hide resolved
mmdet/models/losses/cross_entropy_loss.py Outdated Show resolved Hide resolved
@chhluo chhluo force-pushed the mask2former branch 2 times, most recently from a873d1b to 2f70b2d Compare March 19, 2022 13:05
configs/maskformer/maskformer_r50_mstrain_16x1_75e_coco.py Outdated Show resolved Hide resolved
configs/maskformer/maskformer_r50_mstrain_16x1_75e_coco.py Outdated Show resolved Hide resolved
mmdet/core/mask/utils.py Outdated Show resolved Hide resolved
mmdet/core/mask/utils.py Outdated Show resolved Hide resolved
mmdet/models/plugins/msdeformattn_pixel_decoder.py Outdated Show resolved Hide resolved
mmdet/models/plugins/msdeformattn_pixel_decoder.py Outdated Show resolved Hide resolved
mmdet/datasets/coco.py Show resolved Hide resolved
mmdet/datasets/coco_panoptic.py Show resolved Hide resolved
@PeterVennerstrom
Copy link
Contributor

Are there plans to support instance segmentation only with mask2former? I trained an instance segmentation mask2former with swin t 50e on COCO and got close to the published performance.

panoptic_gt_processing.py pads the instance seg gt masks using the shape from the semantic seg gt masks. I made gt_semantic_seg an optional argument in forward_train() and wrote a preprocess_instance_gt() method that used pad_shape from img_metas rather than taking the shape from gt_semantic_seg. These were the only non-config changes.

My approach isn't a good design.

@chhluo
Copy link
Collaborator Author

chhluo commented Mar 23, 2022

Are there plans to support instance segmentation only with mask2former? I trained an instance segmentation mask2former with swin t 50e on COCO and got close to the published performance.

panoptic_gt_processing.py pads the instance seg gt masks using the shape from the semantic seg gt masks. I made gt_semantic_seg an optional argument in forward_train() and wrote a preprocess_instance_gt() method that used pad_shape from img_metas rather than taking the shape from gt_semantic_seg. These were the only non-config changes.

My approach isn't a good design.

Good suggestion, we will add this proposal to our backlog.
If you are interested in implementing it, you can propose a PR, we can do it together !

@PeterVennerstrom
Copy link
Contributor

Good suggestion, we will add this proposal to our backlog. If you are interested in implementing it, you can propose a PR, we can do it together !

Excellent, thanks for your work on this, it's a really nice implementation.

I've got a pull request out which changes the gt_preprocessing logic to use pad_shape from img_metas and handle optional gt_semantic_seg. This enables forward_train() using the standard coco.py dataset used for instance segmentation.

Assuming this is acceptable, it leaves the matter of evaluation. We could adjust the detector to format the results differently depending the the dataset type (panoptic or instance seg) used to train or we could adjust coco.py to parse the new PQ format results (which would only contain instance seg and bbox results).

update doc

update doc format

deepcopy pixel_decoder cfg

move mask_pseudo_sampler cfg to config file

move part of postprocess from head to detector

fix bug in postprocessing

move class setting from head to config file

remove if else

move mask2bbox to mask/util

update docstring

update docstring in result2json

fix bug

update class_weight

add maskformer_fusion_head

add maskformer fusion head

update

add cfg for filter_low_score

update maskformer

update class_weight

update config

update unit test

rename param

update comments in config

rename variable, rm arg, update unit tests

update mask2bbox

add unit test for mask2bbox

replace unsqueeze(1) and squeeze(1)

add unit test for maskformer_fusion_head

update docstrings

update docstring

delete \

remove modification to ce loss

update docstring

update docstring

update docstring of ce loss

update unit test

update docstring

update docstring

update docstring

rename

rename

add msdeformattn pixel decoder

maskformer refactor

add strides in config

remove redundant code

remove redundant code

update unit test

update config

update
@ZwwWayne ZwwWayne merged commit 14f0e95 into open-mmlab:dev Mar 25, 2022
@chhluo chhluo deleted the mask2former branch March 28, 2022 13:11
ZwwWayne added a commit that referenced this pull request Mar 30, 2022
* [Fix] Adjust the order of get_classes and FileClient. (#7276)

* delete -sv (#7277)

Co-authored-by: Wenwei Zhang <[email protected]>

* [Docs] Add Chinese version of finetune (#7178)

* [Fix] Fix wrong img name in onnx2tensorrt.py (#7157)

* [Docs] fix albumentations installed way (#7143)

* Update finetune.md

Translate the finetune.md doc to Chinese

* Update finetune.md

* Update finetune.md

* Update finetune.md

* fix lint

* fx lint

* fix pr

Co-authored-by: Jamie <[email protected]>
Co-authored-by: BigDong <[email protected]>

* set unmap_results=True in ssd_head (#7328)

* Update YOLOX log for non square input (#7235)

* [Enhance] add cpu_num in cocopanoptic for pq computing (#7315)

* add cpu_num in cocopanoptic for pq computing

* cpu_num -> nproc

* move nproc to evaluate

* [Enhancement] Allow to set channel_order in LoadImageFromFile (#7258)

* allow to set channel_order when loading images

* fix lint

* fix unit test

* fix lint

* [Fix] Force the inputs of `get_bboxes` in yolox_head to float32. (#7324)

* Fix softnms bug

* Add force_fp32 in corner_head and centripetal_head

* [Fix] Fix typo in FPN neck (#7347)

* update readme and pretrained related (#7301)

* [Docs] Add Chinese version of onnx2tensorrt.md (#7219)

* Fix bug of docs

* translate onnx2tensorrt.md

* fix

* fix end-of-file-fixer

* fix some bugs

* 修复链接跳转

* 修复链接跳转

* 修复链接跳转-测试1

* 修复链接跳转-测试2

* 修复链接跳转-测试2

* 修复链接跳转-测试3

* 修复链接跳转-测试5

* Fix

Co-authored-by: jbwang1997 <[email protected]>

* Update useful_tools.md (#7180)

* [Enhancement]: Update colab tutorials (#7310)

* update colab tutorials

* update

* fix

* fix wrong CUDA explaination

* resolve comments

* resolve comments

* fix typo

Co-authored-by: Cedric Luo <[email protected]>
Co-authored-by: tripleMu <[email protected]>
Co-authored-by: jbwang1997 <[email protected]>
Co-authored-by: kira <[email protected]>
Co-authored-by: Wenwei Zhang <[email protected]>

* [Fix] fix misplaced arguments in LoadPanopticAnnotations (#7388)

* [Enhance] Take point sample related functions out of mask_point_head (#7353)

add point sample

replace function in mask_point_head

* [Enhance] Add instance evalutation for coco_panoptic (#7313)

update comments

rename function and replace condition

rename

add message for proposal_fast when instance segmentation evaluation

set cocoGt as arg

update comments

update comments

update docstring and rename

add unit test

update docstring

add assert for instance eval

* [Feature] Add diff seeds to diff ranks. (#7432)

* Enhance the robustness of analyze_logs.py (#7407)

* [Feature] Add multi machine dist_train (#7415)

* [Enchance] Supplementary notes of  sync_random_seed (#7440)

* Supplementary Notes

* update

* update

* update

* Unified name of orig as ori (#7456)

* Remove duplicate link (#7480)

* [Fix] Adding comments for MaxIoUAssigner (#7464)

* Add comments

* update url

* Add description in docstring

* Update sphinx

* update commit

* [Enhance] Update docstring of cross entropy loss (#7472)

* update docstring of ce loss

update docstring

* update docstring

* [Enchance] Added documentation on mmdet using mmcls‘s backbone (#7438)

* add how-to docs

* update

* update index.rst

* update

* update

* Update README.md (#7498)

* fix typos (#7510)

* update-mosaic-to-how-to (#7507)

* [Fix] Fix fpg link (#7478)

* [Doc] Mosaic documentation enhancements (#7470)

* Mosaic documentation enhancements

- Added Mosaic and MultiImageMixDataset must be used together in FAQ document
- Added the demo configuration of Faster R-CNN using Mosaic

* Mosaic doc enhancements

correct some errors as suggested

* Remove unnecessary Settings

a little change

* update some details

* update-mosaic-to-how-to

* Mosaic documentation enhancements

- Added Mosaic and MultiImageMixDataset must be used together in FAQ document
- Added the demo configuration of Faster R-CNN using Mosaic

* Mosaic doc enhancements

correct some errors as suggested

* Remove unnecessary Settings

a little change

* update some details

* rebase dev branch

delete the mosaic in fap.md since it is in how_to.md

* rebase dev

* Mosaic documentation enhancements

- Added Mosaic and MultiImageMixDataset must be used together in FAQ document
- Added the demo configuration of Faster R-CNN using Mosaic

* Mosaic doc enhancements

correct some errors as suggested

* Remove unnecessary Settings

a little change

* update some details

* rebase dev branch

delete the mosaic in fap.md since it is in how_to.md

* Mosaic documentation enhancements

- Added Mosaic and MultiImageMixDataset must be used together in FAQ document
- Added the demo configuration of Faster R-CNN using Mosaic

* Mosaic doc enhancements

correct some errors as suggested

* Remove unnecessary Settings

a little change

* update some details

* rebase dev

* Bug fix: RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cuda:2! (#7521)

修复Free anchor Retinanet网络训练时,可能会遇到计算得到的anchor与pre_bboxes不在同一个cuda device的bug。

* [Feature] Torchvision high-precision ResNet model (#7489)

* Update tnr model

* Update README

* Update README

* Update comments

* Update metafile.yml

* Update model URL

* add msdeformattn pixel decoder (#7466)

fix typo

rm img_metas

rename in pixel_decoder

update comments

rename

fix typo

generae points with MlvlPointGenerator

* [Enhance] MaskFormer refactor (#7471)

* maskformer refactor

update docstring

update docstring

update unit test

update unit test

update unit test

* remove redundant code

* update unit test

* [Feature] Support efficientnet in mmdetection. (#7514)

* Initial implementation

* Add missing import

* Add MemoryEfficientSwishImplementation. Add docstrings

* Add efficientnet2mmdet tool

* Add config folder

* Flake8

* Flake8

* Flake8

* Fix config

* Requested changes

* docformatter

* Update train config from https://github.com/google/automl/blob/master/efficientdet

* Run pre-commit

* Fix schedule

* Set by_epoch=False in scheduler

* Train 80 epochs

* Remove duplicated arg

* Update README.md

* efficient3 efficient0

* efficientNet imports

* efficientNet

* config edit path for eff3 and dropout for eff0

* efficientnet review2

* fix model_converter location and drop path

* fix model converter  and efficientnet import

* register memoryefficietnswish

* eff0, eff3

* fix  flake8 yapf isort

* same padding in tensorflow and edit drop path rate

* fix init of utils

* Align mmdet utils with mmcls

* Align mmdet.models.utils with mmcls

* Use mmcls efficientnet backbone

* Update

* Update

* Update metafile

Co-authored-by: David de la Iglesia Castro <[email protected]>
Co-authored-by: David de la Iglesia Castro <[email protected]>
Co-authored-by: jiangyitong <[email protected]>
Co-authored-by: jiangyitong <[email protected]>

* [Fix] Fix reduction=mean in CELoss. (#7449)

* [Fix] Fix ignore in CELoss.

* add ut

* fix and add comments

* add avg_non_ignore option

* bce avg

* fix lint

* [Enhance] update pascal voc result (#7503)

* [Enhance] update pascal voc result

* minor fix

* [Feature] Support to set data root through commands (#7386)

* Fix #6915: Support to set data root through commands

* Support #6915: seperate function in tools/utils.py, support test.py and browse_dataset.py

* update #6915: refactor the code ref @hhaAndroid advice

* support #6915: fix format problem

* supoort corresponding scripts and update doc @hhaAndroid

* updata misc.py as @ZwwWayne and @hhaAndroid

* Update mmdet/utils/misc.py

Co-authored-by: Haian Huang(深度眸) <[email protected]>

* fix mmdet/utils/misc.py format problem

Co-authored-by: Haian Huang(深度眸) <[email protected]>

* [Feature] Add Mask2Former to mmdet (#6938)

update doc

update doc format

deepcopy pixel_decoder cfg

move mask_pseudo_sampler cfg to config file

move part of postprocess from head to detector

fix bug in postprocessing

move class setting from head to config file

remove if else

move mask2bbox to mask/util

update docstring

update docstring in result2json

fix bug

update class_weight

add maskformer_fusion_head

add maskformer fusion head

update

add cfg for filter_low_score

update maskformer

update class_weight

update config

update unit test

rename param

update comments in config

rename variable, rm arg, update unit tests

update mask2bbox

add unit test for mask2bbox

replace unsqueeze(1) and squeeze(1)

add unit test for maskformer_fusion_head

update docstrings

update docstring

delete \

remove modification to ce loss

update docstring

update docstring

update docstring of ce loss

update unit test

update docstring

update docstring

update docstring

rename

rename

add msdeformattn pixel decoder

maskformer refactor

add strides in config

remove redundant code

remove redundant code

update unit test

update config

update

* [Fix] Update unit test of CrossEntropyCost (#7537)

* [Fix] Memory leaking in panpotic segmentation evaluation (#7538)

* fix broadcast shape bug in yolov3 (#7551)

* Fix `pointrend` missing `get_uncertainty` function bug (#7550)

* [Fix] Adjust the order of get_classes and FileClient. (#7276)

* delete -sv (#7277)

Co-authored-by: Wenwei Zhang <[email protected]>

* [Docs] Add Chinese version of finetune (#7178)

* [Fix] Fix wrong img name in onnx2tensorrt.py (#7157)

* [Docs] fix albumentations installed way (#7143)

* Update finetune.md

Translate the finetune.md doc to Chinese

* Update finetune.md

* Update finetune.md

* Update finetune.md

* fix lint

* fx lint

* fix pr

Co-authored-by: Jamie <[email protected]>
Co-authored-by: BigDong <[email protected]>

* set unmap_results=True in ssd_head (#7328)

* Update YOLOX log for non square input (#7235)

* [Enhance] add cpu_num in cocopanoptic for pq computing (#7315)

* add cpu_num in cocopanoptic for pq computing

* cpu_num -> nproc

* move nproc to evaluate

* [Enhancement] Allow to set channel_order in LoadImageFromFile (#7258)

* allow to set channel_order when loading images

* fix lint

* fix unit test

* fix lint

* [Fix] Force the inputs of `get_bboxes` in yolox_head to float32. (#7324)

* Fix softnms bug

* Add force_fp32 in corner_head and centripetal_head

* [Fix] Fix typo in FPN neck (#7347)

* update readme and pretrained related (#7301)

* [Docs] Add Chinese version of onnx2tensorrt.md (#7219)

* Fix bug of docs

* translate onnx2tensorrt.md

* fix

* fix end-of-file-fixer

* fix some bugs

* 修复链接跳转

* 修复链接跳转

* 修复链接跳转-测试1

* 修复链接跳转-测试2

* 修复链接跳转-测试2

* 修复链接跳转-测试3

* 修复链接跳转-测试5

* Fix

Co-authored-by: jbwang1997 <[email protected]>

* Update useful_tools.md (#7180)

* [Enhancement]: Update colab tutorials (#7310)

* update colab tutorials

* update

* fix

* fix wrong CUDA explaination

* resolve comments

* resolve comments

* fix typo

Co-authored-by: Cedric Luo <[email protected]>
Co-authored-by: tripleMu <[email protected]>
Co-authored-by: jbwang1997 <[email protected]>
Co-authored-by: kira <[email protected]>
Co-authored-by: Wenwei Zhang <[email protected]>

* Fix pointrend missing get_uncertainty function bug

Co-authored-by: Wencheng Wu <[email protected]>
Co-authored-by: Yue Zhou <[email protected]>
Co-authored-by: Wenwei Zhang <[email protected]>
Co-authored-by: MingJian.L <[email protected]>
Co-authored-by: Jamie <[email protected]>
Co-authored-by: BigDong <[email protected]>
Co-authored-by: Cedric Luo <[email protected]>
Co-authored-by: Yosuke Shinya <[email protected]>
Co-authored-by: Cedric Luo <[email protected]>
Co-authored-by: Jingwei Zhang <[email protected]>
Co-authored-by: jbwang1997 <[email protected]>
Co-authored-by: Xiangxu-0103 <[email protected]>
Co-authored-by: tripleMu <[email protected]>
Co-authored-by: kira <[email protected]>

* fix docstring in bbox_nms.py (#7547)

* Create init_cfg.md

* Update docs/zh_cn/tutorials/init_cfg.md

Co-authored-by: Haian Huang(深度眸) <[email protected]>

* update init_cfg.md

* update init_cfg.md

* update init_cfg.md

* update init_cfg.md

* fix docstring

* fix docstring

Co-authored-by: Haian Huang(深度眸) <[email protected]>

* [Doc] Add doc for COCO panoptic segmentation test results submission  (#7430)

* [Doc] Add doc for coco panoptic segmentation test results submission

* add example

* add script

* update comments

* update

* update

* update

* update

* update

* Bump versions to v2.23.0 (#7555)

* Bump versions to v2.23.0

* update log

* replace two Efficientnet

* update mask2former log

* add maskformer and mask2former in README_zh-CN.md

* add efficientnet in README.md and  README_zh-CN.md

* update changelog

* simplify highlights

* update changelog.

* update changelog again

* add some highlights

Co-authored-by: Wencheng Wu <[email protected]>
Co-authored-by: Yue Zhou <[email protected]>
Co-authored-by: MingJian.L <[email protected]>
Co-authored-by: Jamie <[email protected]>
Co-authored-by: BigDong <[email protected]>
Co-authored-by: Cedric Luo <[email protected]>
Co-authored-by: Yosuke Shinya <[email protected]>
Co-authored-by: Cedric Luo <[email protected]>
Co-authored-by: Jingwei Zhang <[email protected]>
Co-authored-by: jbwang1997 <[email protected]>
Co-authored-by: Xiangxu-0103 <[email protected]>
Co-authored-by: tripleMu <[email protected]>
Co-authored-by: kira <[email protected]>
Co-authored-by: Haian Huang(深度眸) <[email protected]>
Co-authored-by: Shilong Zhang <[email protected]>
Co-authored-by: Osman F Bayram <[email protected]>
Co-authored-by: Diego <[email protected]>
Co-authored-by: Noah <[email protected]>
Co-authored-by: Youth-Got <[email protected]>
Co-authored-by: David de la Iglesia Castro <[email protected]>
Co-authored-by: David de la Iglesia Castro <[email protected]>
Co-authored-by: jiangyitong <[email protected]>
Co-authored-by: jiangyitong <[email protected]>
Co-authored-by: RangiLyu <[email protected]>
Co-authored-by: CCODING <[email protected]>
Co-authored-by: Kevin Ye <[email protected]>
Co-authored-by: Czm369 <[email protected]>
ZwwWayne pushed a commit that referenced this pull request Jul 18, 2022
update doc

update doc format

deepcopy pixel_decoder cfg

move mask_pseudo_sampler cfg to config file

move part of postprocess from head to detector

fix bug in postprocessing

move class setting from head to config file

remove if else

move mask2bbox to mask/util

update docstring

update docstring in result2json

fix bug

update class_weight

add maskformer_fusion_head

add maskformer fusion head

update

add cfg for filter_low_score

update maskformer

update class_weight

update config

update unit test

rename param

update comments in config

rename variable, rm arg, update unit tests

update mask2bbox

add unit test for mask2bbox

replace unsqueeze(1) and squeeze(1)

add unit test for maskformer_fusion_head

update docstrings

update docstring

delete \

remove modification to ce loss

update docstring

update docstring

update docstring of ce loss

update unit test

update docstring

update docstring

update docstring

rename

rename

add msdeformattn pixel decoder

maskformer refactor

add strides in config

remove redundant code

remove redundant code

update unit test

update config

update
ZwwWayne pushed a commit to ZwwWayne/mmdetection that referenced this pull request Jul 19, 2022
update doc

update doc format

deepcopy pixel_decoder cfg

move mask_pseudo_sampler cfg to config file

move part of postprocess from head to detector

fix bug in postprocessing

move class setting from head to config file

remove if else

move mask2bbox to mask/util

update docstring

update docstring in result2json

fix bug

update class_weight

add maskformer_fusion_head

add maskformer fusion head

update

add cfg for filter_low_score

update maskformer

update class_weight

update config

update unit test

rename param

update comments in config

rename variable, rm arg, update unit tests

update mask2bbox

add unit test for mask2bbox

replace unsqueeze(1) and squeeze(1)

add unit test for maskformer_fusion_head

update docstrings

update docstring

delete \

remove modification to ce loss

update docstring

update docstring

update docstring of ce loss

update unit test

update docstring

update docstring

update docstring

rename

rename

add msdeformattn pixel decoder

maskformer refactor

add strides in config

remove redundant code

remove redundant code

update unit test

update config

update
SakiRinn pushed a commit to SakiRinn/mmdetection-locount that referenced this pull request Mar 17, 2023
update doc

update doc format

deepcopy pixel_decoder cfg

move mask_pseudo_sampler cfg to config file

move part of postprocess from head to detector

fix bug in postprocessing

move class setting from head to config file

remove if else

move mask2bbox to mask/util

update docstring

update docstring in result2json

fix bug

update class_weight

add maskformer_fusion_head

add maskformer fusion head

update

add cfg for filter_low_score

update maskformer

update class_weight

update config

update unit test

rename param

update comments in config

rename variable, rm arg, update unit tests

update mask2bbox

add unit test for mask2bbox

replace unsqueeze(1) and squeeze(1)

add unit test for maskformer_fusion_head

update docstrings

update docstring

delete \

remove modification to ce loss

update docstring

update docstring

update docstring of ce loss

update unit test

update docstring

update docstring

update docstring

rename

rename

add msdeformattn pixel decoder

maskformer refactor

add strides in config

remove redundant code

remove redundant code

update unit test

update config

update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request planned feature
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

6 participants