OpenMMLab Detection Toolbox and Benchmark https://mmdetection.readthedocs.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Guangchen Lin 776f5f743c
[Enhance] Refactor the loss function in HTC and SCNet (#5881)
3 years ago
..
README.md change to https (#5328) 3 years ago
htc_r50_fpn_1x_coco.py [Enhance] Refactor the loss function in HTC and SCNet (#5881) 3 years ago
htc_r50_fpn_20e_coco.py [Fix]: Add types of runner in configs (#4669) 4 years ago
htc_r101_fpn_20e_coco.py [Refactor] move model.pretrained to model.backbone.init_cfg (#5370) 3 years ago
htc_without_semantic_r50_fpn_1x_coco.py [Refactor] move model.pretrained to model.backbone.init_cfg (#5370) 3 years ago
htc_x101_32x4d_fpn_16x1_20e_coco.py [Refactor] move model.pretrained to model.backbone.init_cfg (#5370) 3 years ago
htc_x101_64x4d_fpn_16x1_20e_coco.py [Refactor] move model.pretrained to model.backbone.init_cfg (#5370) 3 years ago
htc_x101_64x4d_fpn_dconv_c3-c5_mstrain_400_1400_16x1_20e_coco.py [Refactor] move model.pretrained to model.backbone.init_cfg (#5370) 3 years ago
metafile.yml [Enhancement] Modify metafiles (#5496) 3 years ago

README.md

Hybrid Task Cascade for Instance Segmentation

Introduction

We provide config files to reproduce the results in the CVPR 2019 paper for Hybrid Task Cascade.

@inproceedings{chen2019hybrid,
  title={Hybrid task cascade for instance segmentation},
  author={Chen, Kai and Pang, Jiangmiao and Wang, Jiaqi and Xiong, Yu and Li, Xiaoxiao and Sun, Shuyang and Feng, Wansen and Liu, Ziwei and Shi, Jianping and Ouyang, Wanli and Chen Change Loy and Dahua Lin},
  booktitle={IEEE Conference on Computer Vision and Pattern Recognition},
  year={2019}
}

Dataset

HTC requires COCO and COCO-stuff dataset for training. You need to download and extract it in the COCO dataset path. The directory should be like this.

mmdetection
├── mmdet
├── tools
├── configs
├── data
│   ├── coco
│   │   ├── annotations
│   │   ├── train2017
│   │   ├── val2017
│   │   ├── test2017
|   |   ├── stuffthingmaps

Results and Models

The results on COCO 2017val are shown in the below table. (results on test-dev are usually slightly higher than val)

Backbone Style Lr schd Mem (GB) Inf time (fps) box AP mask AP Config Download
R-50-FPN pytorch 1x 8.2 5.8 42.3 37.4 config model | log
R-50-FPN pytorch 20e 8.2 - 43.3 38.3 config model | log
R-101-FPN pytorch 20e 10.2 5.5 44.8 39.6 config model | log
X-101-32x4d-FPN pytorch 20e 11.4 5.0 46.1 40.5 config model | log
X-101-64x4d-FPN pytorch 20e 14.5 4.4 47.0 41.4 config model | log
  • In the HTC paper and COCO 2018 Challenge, score_thr is set to 0.001 for both baselines and HTC.
  • We use 8 GPUs with 2 images/GPU for R-50 and R-101 models, and 16 GPUs with 1 image/GPU for X-101 models. If you would like to train X-101 HTC with 8 GPUs, you need to change the lr from 0.02 to 0.01.

We also provide a powerful HTC with DCN and multi-scale training model. No testing augmentation is used.

Backbone Style DCN training scales Lr schd box AP mask AP Config Download
X-101-64x4d-FPN pytorch c3-c5 400~1400 20e 50.4 43.8 config model | log