gitextract_igmyqiaa/ ├── .circleci/ │ ├── config.yml │ ├── docker/ │ │ └── Dockerfile │ └── test.yml ├── .dev_scripts/ │ ├── batch_test_list.py │ ├── batch_train_list.txt │ ├── benchmark_filter.py │ ├── benchmark_full_models.txt │ ├── benchmark_inference_fps.py │ ├── benchmark_options.py │ ├── benchmark_test.py │ ├── benchmark_test_image.py │ ├── benchmark_train.py │ ├── benchmark_train_models.txt │ ├── benchmark_valid_flops.py │ ├── check_links.py │ ├── convert_test_benchmark_script.py │ ├── convert_train_benchmark_script.py │ ├── covignore.cfg │ ├── diff_coverage_test.sh │ ├── download_checkpoints.py │ ├── gather_models.py │ ├── gather_test_benchmark_metric.py │ ├── gather_train_benchmark_metric.py │ ├── linter.sh │ ├── test_benchmark.sh │ ├── test_init_backbone.py │ └── train_benchmark.sh ├── .github/ │ ├── CODE_OF_CONDUCT.md │ ├── CONTRIBUTING.md │ ├── ISSUE_TEMPLATE/ │ │ ├── config.yml │ │ ├── error-report.md │ │ ├── feature_request.md │ │ ├── general_questions.md │ │ └── reimplementation_questions.md │ ├── pull_request_template.md │ └── workflows/ │ └── deploy.yml ├── .gitignore ├── .owners.yml ├── .pre-commit-config-zh-cn.yaml ├── .pre-commit-config.yaml ├── .readthedocs.yml ├── CITATION.cff ├── LICENSE ├── MANIFEST.in ├── README.md ├── configs/ │ ├── _base_/ │ │ ├── datasets/ │ │ │ ├── cityscapes_detection.py │ │ │ ├── cityscapes_instance.py │ │ │ ├── coco_detection.py │ │ │ ├── coco_instance.py │ │ │ ├── coco_instance_semantic.py │ │ │ ├── coco_panoptic.py │ │ │ ├── deepfashion.py │ │ │ ├── lvis_v0.5_instance.py │ │ │ ├── lvis_v1_instance.py │ │ │ ├── objects365v1_detection.py │ │ │ ├── objects365v2_detection.py │ │ │ ├── openimages_detection.py │ │ │ ├── semi_coco_detection.py │ │ │ ├── voc0712.py │ │ │ └── wider_face.py │ │ ├── default_runtime.py │ │ ├── models/ │ │ │ ├── cascade-mask-rcnn_r50_fpn.py │ │ │ ├── cascade-rcnn_r50_fpn.py │ │ │ ├── fast-rcnn_r50_fpn.py │ │ │ ├── faster-rcnn_r50-caffe-c4.py │ │ │ ├── faster-rcnn_r50-caffe-dc5.py │ │ │ ├── faster-rcnn_r50_fpn.py │ │ │ ├── mask-rcnn_r50-caffe-c4.py │ │ │ ├── mask-rcnn_r50_fpn.py │ │ │ ├── retinanet_r50_fpn.py │ │ │ ├── rpn_r50-caffe-c4.py │ │ │ ├── rpn_r50_fpn.py │ │ │ └── ssd300.py │ │ └── schedules/ │ │ ├── schedule_1x.py │ │ ├── schedule_20e.py │ │ └── schedule_2x.py │ ├── atss/ │ │ ├── README.md │ │ ├── atss_r101_fpn_1x_coco.py │ │ ├── atss_r101_fpn_8xb8-amp-lsj-200e_coco.py │ │ ├── atss_r18_fpn_8xb8-amp-lsj-200e_coco.py │ │ ├── atss_r50_fpn_1x_coco.py │ │ ├── atss_r50_fpn_8xb8-amp-lsj-200e_coco.py │ │ └── metafile.yml │ ├── centernet/ │ │ ├── README.md │ │ ├── centernet-update_r101_fpn_8xb8-amp-lsj-200e_coco.py │ │ ├── centernet-update_r18_fpn_8xb8-amp-lsj-200e_coco.py │ │ ├── centernet-update_r50-caffe_fpn_ms-1x_coco.py │ │ ├── centernet-update_r50_fpn_8xb8-amp-lsj-200e_coco.py │ │ ├── centernet_r18-dcnv2_8xb16-crop512-140e_coco.py │ │ ├── centernet_r18_8xb16-crop512-140e_coco.py │ │ ├── centernet_tta.py │ │ └── metafile.yml │ ├── crosskd/ │ │ ├── crosskd_r18_gflv1_r50_fpn_1x_coco.py │ │ ├── crosskd_r18_retinanet_r50_fpn_1x_coco.py │ │ ├── crosskd_r50_atss_r101_fpn_1x_coco.py │ │ ├── crosskd_r50_fcos_r101-2x-ms_caffe_fpn_gn-head_2x_ms_coco.py │ │ ├── crosskd_r50_gflv1_r101-2x-ms_fpn_1x_coco.py │ │ ├── crosskd_r50_retinanet_r101_fpn_2x_coco.py │ │ └── crosskd_r50_retinanet_swint_fpn_1x_coco.py │ ├── crosskd+pkd/ │ │ ├── crosskd+pkd_r50_atss_r101_fpn_1x_coco.py │ │ ├── crosskd+pkd_r50_fcos_r101-2x-ms_caffe_fpn_gn-head_2x_ms_coco.py │ │ ├── crosskd+pkd_r50_gflv1_r101-2x-ms_fpn_1x_coco.py │ │ └── crosskd+pkd_r50_retinanet_r101_fpn_2x_coco.py │ ├── fcos/ │ │ ├── README.md │ │ ├── fcos_r101-caffe_fpn_gn-head-1x_coco.py │ │ ├── fcos_r101-caffe_fpn_gn-head_ms-640-800-2x_coco.py │ │ ├── fcos_r101_fpn_gn-head-center-normbbox-centeronreg-giou_8xb8-amp-lsj-200e_coco.py │ │ ├── fcos_r18_fpn_gn-head-center-normbbox-centeronreg-giou_8xb8-amp-lsj-200e_coco.py │ │ ├── fcos_r50-caffe_fpn_gn-head-center-normbbox-centeronreg-giou_1x_coco.py │ │ ├── fcos_r50-caffe_fpn_gn-head-center_1x_coco.py │ │ ├── fcos_r50-caffe_fpn_gn-head_1x_coco.py │ │ ├── fcos_r50-caffe_fpn_gn-head_4xb4-1x_coco.py │ │ ├── fcos_r50-caffe_fpn_gn-head_ms-640-800-2x_coco.py │ │ ├── fcos_r50-dcn-caffe_fpn_gn-head-center-normbbox-centeronreg-giou_1x_coco.py │ │ ├── fcos_r50_fpn_gn-head-center-normbbox-centeronreg-giou_8xb8-amp-lsj-200e_coco.py │ │ ├── fcos_x101-64x4d_fpn_gn-head_ms-640-800-2x_coco.py │ │ └── metafile.yml │ ├── gfl/ │ │ ├── README.md │ │ ├── gfl_r101-dconv-c3-c5_fpn_ms-2x_coco.py │ │ ├── gfl_r101_fpn_ms-2x_coco.py │ │ ├── gfl_r50_fpn_1x_coco.py │ │ ├── gfl_r50_fpn_ms-2x_coco.py │ │ ├── gfl_x101-32x4d-dconv-c4-c5_fpn_ms-2x_coco.py │ │ ├── gfl_x101-32x4d_fpn_ms-2x_coco.py │ │ └── metafile.yml │ ├── ld/ │ │ ├── README.md │ │ ├── ld_r101-gflv1-r101-dcn_fpn_2x_coco.py │ │ ├── ld_r18-gflv1-r101_fpn_1x_coco.py │ │ ├── ld_r34-gflv1-r101_fpn_1x_coco.py │ │ ├── ld_r50-gflv1-r101_fpn_1x_coco.py │ │ └── metafile.yml │ └── retinanet/ │ ├── README.md │ ├── metafile.yml │ ├── retinanet_r101-caffe_fpn_1x_coco.py │ ├── retinanet_r101-caffe_fpn_ms-3x_coco.py │ ├── retinanet_r101_fpn_1x_coco.py │ ├── retinanet_r101_fpn_2x_coco.py │ ├── retinanet_r101_fpn_8xb8-amp-lsj-200e_coco.py │ ├── retinanet_r101_fpn_ms-640-800-3x_coco.py │ ├── retinanet_r18_fpn_1x_coco.py │ ├── retinanet_r18_fpn_1xb8-1x_coco.py │ ├── retinanet_r18_fpn_8xb8-amp-lsj-200e_coco.py │ ├── retinanet_r50-caffe_fpn_1x_coco.py │ ├── retinanet_r50-caffe_fpn_ms-1x_coco.py │ ├── retinanet_r50-caffe_fpn_ms-2x_coco.py │ ├── retinanet_r50-caffe_fpn_ms-3x_coco.py │ ├── retinanet_r50_fpn_1x_coco.py │ ├── retinanet_r50_fpn_2x_coco.py │ ├── retinanet_r50_fpn_8xb8-amp-lsj-200e_coco.py │ ├── retinanet_r50_fpn_90k_coco.py │ ├── retinanet_r50_fpn_amp-1x_coco.py │ ├── retinanet_r50_fpn_ms-640-800-3x_coco.py │ ├── retinanet_swin-t-p4-w7_fpn_1x_coco.py │ ├── retinanet_tta.py │ ├── retinanet_x101-32x4d_fpn_1x_coco.py │ ├── retinanet_x101-32x4d_fpn_2x_coco.py │ ├── retinanet_x101-64x4d_fpn_1x_coco.py │ ├── retinanet_x101-64x4d_fpn_2x_coco.py │ └── retinanet_x101-64x4d_fpn_ms-640-800-3x_coco.py ├── demo/ │ ├── MMDet_InstanceSeg_Tutorial.ipynb │ ├── MMDet_Tutorial.ipynb │ ├── create_result_gif.py │ ├── image_demo.py │ ├── inference_demo.ipynb │ ├── video_demo.py │ ├── video_gpuaccel_demo.py │ └── webcam_demo.py ├── docker/ │ ├── Dockerfile │ ├── serve/ │ │ ├── Dockerfile │ │ ├── config.properties │ │ └── entrypoint.sh │ └── serve_cn/ │ └── Dockerfile ├── mmdet/ │ ├── __init__.py │ ├── apis/ │ │ ├── __init__.py │ │ ├── det_inferencer.py │ │ └── inference.py │ ├── datasets/ │ │ ├── __init__.py │ │ ├── api_wrappers/ │ │ │ ├── __init__.py │ │ │ └── coco_api.py │ │ ├── base_det_dataset.py │ │ ├── cityscapes.py │ │ ├── coco.py │ │ ├── coco_panoptic.py │ │ ├── crowdhuman.py │ │ ├── dataset_wrappers.py │ │ ├── deepfashion.py │ │ ├── lvis.py │ │ ├── objects365.py │ │ ├── openimages.py │ │ ├── samplers/ │ │ │ ├── __init__.py │ │ │ ├── batch_sampler.py │ │ │ ├── class_aware_sampler.py │ │ │ └── multi_source_sampler.py │ │ ├── transforms/ │ │ │ ├── __init__.py │ │ │ ├── augment_wrappers.py │ │ │ ├── colorspace.py │ │ │ ├── formatting.py │ │ │ ├── geometric.py │ │ │ ├── instaboost.py │ │ │ ├── loading.py │ │ │ ├── transforms.py │ │ │ └── wrappers.py │ │ ├── utils.py │ │ ├── voc.py │ │ ├── wider_face.py │ │ └── xml_style.py │ ├── engine/ │ │ ├── __init__.py │ │ ├── hooks/ │ │ │ ├── __init__.py │ │ │ ├── checkloss_hook.py │ │ │ ├── mean_teacher_hook.py │ │ │ ├── memory_profiler_hook.py │ │ │ ├── num_class_check_hook.py │ │ │ ├── pipeline_switch_hook.py │ │ │ ├── set_epoch_info_hook.py │ │ │ ├── sync_norm_hook.py │ │ │ ├── utils.py │ │ │ ├── visualization_hook.py │ │ │ └── yolox_mode_switch_hook.py │ │ ├── optimizers/ │ │ │ ├── __init__.py │ │ │ └── layer_decay_optimizer_constructor.py │ │ ├── runner/ │ │ │ ├── __init__.py │ │ │ └── loops.py │ │ └── schedulers/ │ │ ├── __init__.py │ │ └── quadratic_warmup.py │ ├── evaluation/ │ │ ├── __init__.py │ │ ├── functional/ │ │ │ ├── __init__.py │ │ │ ├── bbox_overlaps.py │ │ │ ├── class_names.py │ │ │ ├── mean_ap.py │ │ │ ├── panoptic_utils.py │ │ │ └── recall.py │ │ └── metrics/ │ │ ├── __init__.py │ │ ├── cityscapes_metric.py │ │ ├── coco_metric.py │ │ ├── coco_occluded_metric.py │ │ ├── coco_panoptic_metric.py │ │ ├── crowdhuman_metric.py │ │ ├── dump_det_results.py │ │ ├── dump_proposals_metric.py │ │ ├── lvis_metric.py │ │ ├── openimages_metric.py │ │ └── voc_metric.py │ ├── models/ │ │ ├── __init__.py │ │ ├── backbones/ │ │ │ ├── __init__.py │ │ │ ├── csp_darknet.py │ │ │ ├── cspnext.py │ │ │ ├── darknet.py │ │ │ ├── detectors_resnet.py │ │ │ ├── detectors_resnext.py │ │ │ ├── efficientnet.py │ │ │ ├── hourglass.py │ │ │ ├── hrnet.py │ │ │ ├── mobilenet_v2.py │ │ │ ├── pvt.py │ │ │ ├── regnet.py │ │ │ ├── res2net.py │ │ │ ├── resnest.py │ │ │ ├── resnet.py │ │ │ ├── resnext.py │ │ │ ├── ssd_vgg.py │ │ │ ├── swin.py │ │ │ └── trident_resnet.py │ │ ├── data_preprocessors/ │ │ │ ├── __init__.py │ │ │ └── data_preprocessor.py │ │ ├── dense_heads/ │ │ │ ├── __init__.py │ │ │ ├── anchor_free_head.py │ │ │ ├── anchor_head.py │ │ │ ├── atss_head.py │ │ │ ├── autoassign_head.py │ │ │ ├── base_dense_head.py │ │ │ ├── base_mask_head.py │ │ │ ├── boxinst_head.py │ │ │ ├── cascade_rpn_head.py │ │ │ ├── centernet_head.py │ │ │ ├── centernet_update_head.py │ │ │ ├── centripetal_head.py │ │ │ ├── condinst_head.py │ │ │ ├── conditional_detr_head.py │ │ │ ├── corner_head.py │ │ │ ├── dab_detr_head.py │ │ │ ├── ddod_head.py │ │ │ ├── deformable_detr_head.py │ │ │ ├── dense_test_mixins.py │ │ │ ├── detr_head.py │ │ │ ├── dino_head.py │ │ │ ├── embedding_rpn_head.py │ │ │ ├── fcos_head.py │ │ │ ├── fovea_head.py │ │ │ ├── free_anchor_retina_head.py │ │ │ ├── fsaf_head.py │ │ │ ├── ga_retina_head.py │ │ │ ├── ga_rpn_head.py │ │ │ ├── gfl_head.py │ │ │ ├── guided_anchor_head.py │ │ │ ├── lad_head.py │ │ │ ├── ld_head.py │ │ │ ├── mask2former_head.py │ │ │ ├── maskformer_head.py │ │ │ ├── nasfcos_head.py │ │ │ ├── paa_head.py │ │ │ ├── pisa_retinanet_head.py │ │ │ ├── pisa_ssd_head.py │ │ │ ├── reppoints_head.py │ │ │ ├── retina_head.py │ │ │ ├── retina_sepbn_head.py │ │ │ ├── rpn_head.py │ │ │ ├── rtmdet_head.py │ │ │ ├── rtmdet_ins_head.py │ │ │ ├── sabl_retina_head.py │ │ │ ├── solo_head.py │ │ │ ├── solov2_head.py │ │ │ ├── ssd_head.py │ │ │ ├── tood_head.py │ │ │ ├── vfnet_head.py │ │ │ ├── yolact_head.py │ │ │ ├── yolo_head.py │ │ │ ├── yolof_head.py │ │ │ └── yolox_head.py │ │ ├── detectors/ │ │ │ ├── __init__.py │ │ │ ├── atss.py │ │ │ ├── autoassign.py │ │ │ ├── base.py │ │ │ ├── base_detr.py │ │ │ ├── boxinst.py │ │ │ ├── cascade_rcnn.py │ │ │ ├── centernet.py │ │ │ ├── condinst.py │ │ │ ├── conditional_detr.py │ │ │ ├── cornernet.py │ │ │ ├── crosskd_atss.py │ │ │ ├── crosskd_fcos.py │ │ │ ├── crosskd_gfl.py │ │ │ ├── crosskd_retinanet.py │ │ │ ├── crosskd_single_stage.py │ │ │ ├── crowddet.py │ │ │ ├── d2_wrapper.py │ │ │ ├── dab_detr.py │ │ │ ├── ddod.py │ │ │ ├── deformable_detr.py │ │ │ ├── detr.py │ │ │ ├── dino.py │ │ │ ├── fast_rcnn.py │ │ │ ├── faster_rcnn.py │ │ │ ├── fcos.py │ │ │ ├── fovea.py │ │ │ ├── fsaf.py │ │ │ ├── gfl.py │ │ │ ├── grid_rcnn.py │ │ │ ├── htc.py │ │ │ ├── kd_one_stage.py │ │ │ ├── lad.py │ │ │ ├── mask2former.py │ │ │ ├── mask_rcnn.py │ │ │ ├── mask_scoring_rcnn.py │ │ │ ├── maskformer.py │ │ │ ├── nasfcos.py │ │ │ ├── paa.py │ │ │ ├── panoptic_fpn.py │ │ │ ├── panoptic_two_stage_segmentor.py │ │ │ ├── point_rend.py │ │ │ ├── queryinst.py │ │ │ ├── reppoints_detector.py │ │ │ ├── retinanet.py │ │ │ ├── rpn.py │ │ │ ├── rtmdet.py │ │ │ ├── scnet.py │ │ │ ├── semi_base.py │ │ │ ├── single_stage.py │ │ │ ├── single_stage_instance_seg.py │ │ │ ├── soft_teacher.py │ │ │ ├── solo.py │ │ │ ├── solov2.py │ │ │ ├── sparse_rcnn.py │ │ │ ├── tood.py │ │ │ ├── trident_faster_rcnn.py │ │ │ ├── two_stage.py │ │ │ ├── vfnet.py │ │ │ ├── yolact.py │ │ │ ├── yolo.py │ │ │ ├── yolof.py │ │ │ └── yolox.py │ │ ├── layers/ │ │ │ ├── __init__.py │ │ │ ├── activations.py │ │ │ ├── bbox_nms.py │ │ │ ├── brick_wrappers.py │ │ │ ├── conv_upsample.py │ │ │ ├── csp_layer.py │ │ │ ├── dropblock.py │ │ │ ├── ema.py │ │ │ ├── inverted_residual.py │ │ │ ├── matrix_nms.py │ │ │ ├── msdeformattn_pixel_decoder.py │ │ │ ├── normed_predictor.py │ │ │ ├── pixel_decoder.py │ │ │ ├── positional_encoding.py │ │ │ ├── res_layer.py │ │ │ ├── se_layer.py │ │ │ └── transformer/ │ │ │ ├── __init__.py │ │ │ ├── conditional_detr_layers.py │ │ │ ├── dab_detr_layers.py │ │ │ ├── deformable_detr_layers.py │ │ │ ├── detr_layers.py │ │ │ ├── dino_layers.py │ │ │ ├── mask2former_layers.py │ │ │ └── utils.py │ │ ├── losses/ │ │ │ ├── __init__.py │ │ │ ├── accuracy.py │ │ │ ├── ae_loss.py │ │ │ ├── balanced_l1_loss.py │ │ │ ├── cross_entropy_loss.py │ │ │ ├── dice_loss.py │ │ │ ├── focal_loss.py │ │ │ ├── gaussian_focal_loss.py │ │ │ ├── gfocal_loss.py │ │ │ ├── ghm_loss.py │ │ │ ├── iou_loss.py │ │ │ ├── kd_loss.py │ │ │ ├── mse_loss.py │ │ │ ├── pisa_loss.py │ │ │ ├── pkd_loss.py │ │ │ ├── seesaw_loss.py │ │ │ ├── smooth_l1_loss.py │ │ │ ├── utils.py │ │ │ └── varifocal_loss.py │ │ ├── necks/ │ │ │ ├── __init__.py │ │ │ ├── bfp.py │ │ │ ├── channel_mapper.py │ │ │ ├── cspnext_pafpn.py │ │ │ ├── ct_resnet_neck.py │ │ │ ├── dilated_encoder.py │ │ │ ├── dyhead.py │ │ │ ├── fpg.py │ │ │ ├── fpn.py │ │ │ ├── fpn_carafe.py │ │ │ ├── hrfpn.py │ │ │ ├── nas_fpn.py │ │ │ ├── nasfcos_fpn.py │ │ │ ├── pafpn.py │ │ │ ├── rfp.py │ │ │ ├── ssd_neck.py │ │ │ ├── ssh.py │ │ │ ├── yolo_neck.py │ │ │ └── yolox_pafpn.py │ │ ├── roi_heads/ │ │ │ ├── __init__.py │ │ │ ├── base_roi_head.py │ │ │ ├── bbox_heads/ │ │ │ │ ├── __init__.py │ │ │ │ ├── bbox_head.py │ │ │ │ ├── convfc_bbox_head.py │ │ │ │ ├── dii_head.py │ │ │ │ ├── double_bbox_head.py │ │ │ │ ├── multi_instance_bbox_head.py │ │ │ │ ├── sabl_head.py │ │ │ │ └── scnet_bbox_head.py │ │ │ ├── cascade_roi_head.py │ │ │ ├── double_roi_head.py │ │ │ ├── dynamic_roi_head.py │ │ │ ├── grid_roi_head.py │ │ │ ├── htc_roi_head.py │ │ │ ├── mask_heads/ │ │ │ │ ├── __init__.py │ │ │ │ ├── coarse_mask_head.py │ │ │ │ ├── dynamic_mask_head.py │ │ │ │ ├── fcn_mask_head.py │ │ │ │ ├── feature_relay_head.py │ │ │ │ ├── fused_semantic_head.py │ │ │ │ ├── global_context_head.py │ │ │ │ ├── grid_head.py │ │ │ │ ├── htc_mask_head.py │ │ │ │ ├── mask_point_head.py │ │ │ │ ├── maskiou_head.py │ │ │ │ ├── scnet_mask_head.py │ │ │ │ └── scnet_semantic_head.py │ │ │ ├── mask_scoring_roi_head.py │ │ │ ├── multi_instance_roi_head.py │ │ │ ├── pisa_roi_head.py │ │ │ ├── point_rend_roi_head.py │ │ │ ├── roi_extractors/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base_roi_extractor.py │ │ │ │ ├── generic_roi_extractor.py │ │ │ │ └── single_level_roi_extractor.py │ │ │ ├── scnet_roi_head.py │ │ │ ├── shared_heads/ │ │ │ │ ├── __init__.py │ │ │ │ └── res_layer.py │ │ │ ├── sparse_roi_head.py │ │ │ ├── standard_roi_head.py │ │ │ ├── test_mixins.py │ │ │ └── trident_roi_head.py │ │ ├── seg_heads/ │ │ │ ├── __init__.py │ │ │ ├── base_semantic_head.py │ │ │ ├── panoptic_fpn_head.py │ │ │ └── panoptic_fusion_heads/ │ │ │ ├── __init__.py │ │ │ ├── base_panoptic_fusion_head.py │ │ │ ├── heuristic_fusion_head.py │ │ │ └── maskformer_fusion_head.py │ │ ├── task_modules/ │ │ │ ├── __init__.py │ │ │ ├── assigners/ │ │ │ │ ├── __init__.py │ │ │ │ ├── approx_max_iou_assigner.py │ │ │ │ ├── assign_result.py │ │ │ │ ├── atss_assigner.py │ │ │ │ ├── base_assigner.py │ │ │ │ ├── center_region_assigner.py │ │ │ │ ├── dynamic_soft_label_assigner.py │ │ │ │ ├── grid_assigner.py │ │ │ │ ├── hungarian_assigner.py │ │ │ │ ├── iou2d_calculator.py │ │ │ │ ├── match_cost.py │ │ │ │ ├── max_iou_assigner.py │ │ │ │ ├── multi_instance_assigner.py │ │ │ │ ├── point_assigner.py │ │ │ │ ├── region_assigner.py │ │ │ │ ├── sim_ota_assigner.py │ │ │ │ ├── task_aligned_assigner.py │ │ │ │ └── uniform_assigner.py │ │ │ ├── builder.py │ │ │ ├── coders/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base_bbox_coder.py │ │ │ │ ├── bucketing_bbox_coder.py │ │ │ │ ├── delta_xywh_bbox_coder.py │ │ │ │ ├── distance_point_bbox_coder.py │ │ │ │ ├── legacy_delta_xywh_bbox_coder.py │ │ │ │ ├── pseudo_bbox_coder.py │ │ │ │ ├── tblr_bbox_coder.py │ │ │ │ └── yolo_bbox_coder.py │ │ │ ├── prior_generators/ │ │ │ │ ├── __init__.py │ │ │ │ ├── anchor_generator.py │ │ │ │ ├── point_generator.py │ │ │ │ └── utils.py │ │ │ └── samplers/ │ │ │ ├── __init__.py │ │ │ ├── base_sampler.py │ │ │ ├── combined_sampler.py │ │ │ ├── instance_balanced_pos_sampler.py │ │ │ ├── iou_balanced_neg_sampler.py │ │ │ ├── mask_pseudo_sampler.py │ │ │ ├── mask_sampling_result.py │ │ │ ├── multi_instance_random_sampler.py │ │ │ ├── multi_instance_sampling_result.py │ │ │ ├── ohem_sampler.py │ │ │ ├── pseudo_sampler.py │ │ │ ├── random_sampler.py │ │ │ ├── sampling_result.py │ │ │ └── score_hlr_sampler.py │ │ ├── test_time_augs/ │ │ │ ├── __init__.py │ │ │ ├── det_tta.py │ │ │ └── merge_augs.py │ │ └── utils/ │ │ ├── __init__.py │ │ ├── gaussian_target.py │ │ ├── make_divisible.py │ │ ├── misc.py │ │ ├── panoptic_gt_processing.py │ │ └── point_sample.py │ ├── registry.py │ ├── structures/ │ │ ├── __init__.py │ │ ├── bbox/ │ │ │ ├── __init__.py │ │ │ ├── base_boxes.py │ │ │ ├── bbox_overlaps.py │ │ │ ├── box_type.py │ │ │ ├── horizontal_boxes.py │ │ │ └── transforms.py │ │ ├── det_data_sample.py │ │ └── mask/ │ │ ├── __init__.py │ │ ├── mask_target.py │ │ ├── structures.py │ │ └── utils.py │ ├── testing/ │ │ ├── __init__.py │ │ ├── _fast_stop_training_hook.py │ │ └── _utils.py │ ├── utils/ │ │ ├── __init__.py │ │ ├── benchmark.py │ │ ├── collect_env.py │ │ ├── compat_config.py │ │ ├── contextmanagers.py │ │ ├── dist_utils.py │ │ ├── logger.py │ │ ├── memory.py │ │ ├── misc.py │ │ ├── profiling.py │ │ ├── replace_cfg_vals.py │ │ ├── setup_env.py │ │ ├── split_batch.py │ │ ├── typing_utils.py │ │ ├── util_mixins.py │ │ └── util_random.py │ ├── version.py │ └── visualization/ │ ├── __init__.py │ ├── local_visualizer.py │ └── palette.py ├── model-index.yml ├── projects/ │ ├── ConvNeXt-V2/ │ │ ├── README.md │ │ └── configs/ │ │ └── mask-rcnn_convnext-v2-b_fpn_lsj-3x-fcmae_coco.py │ ├── Detic/ │ │ ├── README.md │ │ ├── configs/ │ │ │ └── detic_centernet2_swin-b_fpn_4x_lvis-coco-in21k.py │ │ ├── demo.py │ │ └── detic/ │ │ ├── __init__.py │ │ ├── centernet_rpn_head.py │ │ ├── detic_bbox_head.py │ │ ├── detic_roi_head.py │ │ ├── text_encoder.py │ │ ├── utils.py │ │ └── zero_shot_classifier.py │ ├── DiffusionDet/ │ │ ├── README.md │ │ ├── configs/ │ │ │ └── diffusiondet_r50_fpn_500-proposals_1-step_crop-ms-480-800-450k_coco.py │ │ ├── diffusiondet/ │ │ │ ├── __init__.py │ │ │ ├── diffusiondet.py │ │ │ ├── head.py │ │ │ └── loss.py │ │ └── model_converters/ │ │ └── diffusiondet_resnet_to_mmdet.py │ ├── EfficientDet/ │ │ ├── README.md │ │ ├── configs/ │ │ │ └── efficientdet_effb0_bifpn_16xb8-crop512-300e_coco.py │ │ ├── convert_tf_to_pt.py │ │ └── efficientdet/ │ │ ├── __init__.py │ │ ├── anchor_generator.py │ │ ├── api_wrappers/ │ │ │ ├── __init__.py │ │ │ └── coco_api.py │ │ ├── bifpn.py │ │ ├── coco_90class.py │ │ ├── coco_90metric.py │ │ ├── efficientdet.py │ │ ├── efficientdet_head.py │ │ ├── trans_max_iou_assigner.py │ │ ├── utils.py │ │ └── yxyx_bbox_coder.py │ ├── SparseInst/ │ │ ├── README.md │ │ ├── configs/ │ │ │ └── sparseinst_r50_iam_8xb8-ms-270k_coco.py │ │ └── sparseinst/ │ │ ├── __init__.py │ │ ├── decoder.py │ │ ├── encoder.py │ │ ├── loss.py │ │ └── sparseinst.py │ └── example_project/ │ ├── README.md │ ├── configs/ │ │ └── faster-rcnn_dummy-resnet_fpn_1x_coco.py │ └── dummy/ │ ├── __init__.py │ └── dummy_resnet.py ├── pytest.ini ├── requirements/ │ ├── albu.txt │ ├── build.txt │ ├── docs.txt │ ├── mminstall.txt │ ├── optional.txt │ ├── readthedocs.txt │ ├── runtime.txt │ └── tests.txt ├── requirements.txt ├── setup.cfg ├── setup.py ├── tests/ │ ├── test_apis/ │ │ ├── test_det_inferencer.py │ │ └── test_inference.py │ ├── test_datasets/ │ │ ├── test_cityscapes.py │ │ ├── test_coco.py │ │ ├── test_coco_api_wrapper.py │ │ ├── test_coco_panoptic.py │ │ ├── test_crowdhuman.py │ │ ├── test_lvis.py │ │ ├── test_objects365.py │ │ ├── test_openimages.py │ │ ├── test_pascal_voc.py │ │ ├── test_samplers/ │ │ │ ├── test_batch_sampler.py │ │ │ └── test_multi_source_sampler.py │ │ ├── test_transforms/ │ │ │ ├── __init__.py │ │ │ ├── test_augment_wrappers.py │ │ │ ├── test_colorspace.py │ │ │ ├── test_formatting.py │ │ │ ├── test_geometric.py │ │ │ ├── test_instaboost.py │ │ │ ├── test_loading.py │ │ │ ├── test_transforms.py │ │ │ ├── test_wrappers.py │ │ │ └── utils.py │ │ └── test_tta.py │ ├── test_engine/ │ │ ├── __init__.py │ │ ├── test_hooks/ │ │ │ ├── test_checkloss_hook.py │ │ │ ├── test_mean_teacher_hook.py │ │ │ ├── test_memory_profiler_hook.py │ │ │ ├── test_num_class_check_hook.py │ │ │ ├── test_sync_norm_hook.py │ │ │ ├── test_visualization_hook.py │ │ │ └── test_yolox_mode_switch_hook.py │ │ ├── test_optimizers/ │ │ │ ├── __init__.py │ │ │ └── test_layer_decay_optimizer_constructor.py │ │ ├── test_runner/ │ │ │ └── test_loops.py │ │ └── test_schedulers/ │ │ └── test_quadratic_warmup.py │ ├── test_evaluation/ │ │ └── test_metrics/ │ │ ├── __init__.py │ │ ├── test_cityscapes_metric.py │ │ ├── test_coco_metric.py │ │ ├── test_coco_occluded_metric.py │ │ ├── test_coco_panoptic_metric.py │ │ ├── test_crowdhuman_metric.py │ │ ├── test_dump_det_results.py │ │ ├── test_lvis_metric.py │ │ └── test_openimages_metric.py │ ├── test_models/ │ │ ├── test_backbones/ │ │ │ ├── __init__.py │ │ │ ├── test_csp_darknet.py │ │ │ ├── test_detectors_resnet.py │ │ │ ├── test_efficientnet.py │ │ │ ├── test_hourglass.py │ │ │ ├── test_hrnet.py │ │ │ ├── test_mobilenet_v2.py │ │ │ ├── test_pvt.py │ │ │ ├── test_regnet.py │ │ │ ├── test_renext.py │ │ │ ├── test_res2net.py │ │ │ ├── test_resnest.py │ │ │ ├── test_resnet.py │ │ │ ├── test_swin.py │ │ │ ├── test_trident_resnet.py │ │ │ └── utils.py │ │ ├── test_data_preprocessors/ │ │ │ ├── test_batch_resize.py │ │ │ ├── test_boxinst_preprocessor.py │ │ │ └── test_data_preprocessor.py │ │ ├── test_dense_heads/ │ │ │ ├── test_anchor_head.py │ │ │ ├── test_atss_head.py │ │ │ ├── test_autoassign_head.py │ │ │ ├── test_boxinst_head.py │ │ │ ├── test_cascade_rpn_head.py │ │ │ ├── test_centernet_head.py │ │ │ ├── test_centernet_update_head.py │ │ │ ├── test_centripetal_head.py │ │ │ ├── test_condinst_head.py │ │ │ ├── test_corner_head.py │ │ │ ├── test_ddod_head.py │ │ │ ├── test_embedding_rpn_head.py │ │ │ ├── test_fcos_head.py │ │ │ ├── test_fovea_head.py │ │ │ ├── test_free_anchor_head.py │ │ │ ├── test_fsaf_head.py │ │ │ ├── test_ga_retina_head.py │ │ │ ├── test_ga_rpn_head.py │ │ │ ├── test_gfl_head.py │ │ │ ├── test_guided_anchor_head.py │ │ │ ├── test_lad_head.py │ │ │ ├── test_ld_head.py │ │ │ ├── test_nasfcos_head.py │ │ │ ├── test_paa_head.py │ │ │ ├── test_pisa_retinanet_head.py │ │ │ ├── test_pisa_ssd_head.py │ │ │ ├── test_reppoints_head.py │ │ │ ├── test_retina_sepBN_head.py │ │ │ ├── test_rpn_head.py │ │ │ ├── test_sabl_retina_head.py │ │ │ ├── test_solo_head.py │ │ │ ├── test_solov2_head.py │ │ │ ├── test_ssd_head.py │ │ │ ├── test_tood_head.py │ │ │ ├── test_vfnet_head.py │ │ │ ├── test_yolo_head.py │ │ │ ├── test_yolof_head.py │ │ │ └── test_yolox_head.py │ │ ├── test_detectors/ │ │ │ ├── test_conditional_detr.py │ │ │ ├── test_cornernet.py │ │ │ ├── test_dab_detr.py │ │ │ ├── test_deformable_detr.py │ │ │ ├── test_detr.py │ │ │ ├── test_dino.py │ │ │ ├── test_kd_single_stage.py │ │ │ ├── test_maskformer.py │ │ │ ├── test_panoptic_two_stage_segmentor.py │ │ │ ├── test_rpn.py │ │ │ ├── test_semi_base.py │ │ │ ├── test_single_stage.py │ │ │ ├── test_single_stage_instance_seg.py │ │ │ └── test_two_stage.py │ │ ├── test_layers/ │ │ │ ├── __init__.py │ │ │ ├── test_brick_wrappers.py │ │ │ ├── test_conv_upsample.py │ │ │ ├── test_ema.py │ │ │ ├── test_inverted_residual.py │ │ │ ├── test_plugins.py │ │ │ ├── test_position_encoding.py │ │ │ ├── test_se_layer.py │ │ │ └── test_transformer.py │ │ ├── test_losses/ │ │ │ ├── test_gaussian_focal_loss.py │ │ │ └── test_loss.py │ │ ├── test_necks/ │ │ │ ├── test_ct_resnet_neck.py │ │ │ └── test_necks.py │ │ ├── test_roi_heads/ │ │ │ ├── test_bbox_heads/ │ │ │ │ ├── test_bbox_head.py │ │ │ │ ├── test_double_bbox_head.py │ │ │ │ ├── test_multi_instance_bbox_head.py │ │ │ │ ├── test_sabl_bbox_head.py │ │ │ │ └── test_scnet_bbox_head.py │ │ │ ├── test_cascade_roi_head.py │ │ │ ├── test_dynamic_roi_head.py │ │ │ ├── test_grid_roi_head.py │ │ │ ├── test_htc_roi_head.py │ │ │ ├── test_mask_heads/ │ │ │ │ ├── test_coarse_mask_head.py │ │ │ │ ├── test_fcn_mask_head.py │ │ │ │ ├── test_feature_relay_head.py │ │ │ │ ├── test_fused_semantic_head.py │ │ │ │ ├── test_global_context_head.py │ │ │ │ ├── test_grid_head.py │ │ │ │ ├── test_htc_mask_head.py │ │ │ │ ├── test_maskiou_head.py │ │ │ │ ├── test_scnet_mask_head.py │ │ │ │ └── test_scnet_semantic_head.py │ │ │ ├── test_mask_scoring_roI_head.py │ │ │ ├── test_multi_instance_roi_head.py │ │ │ ├── test_pisa_roi_head.py │ │ │ ├── test_point_rend_roi_head.py │ │ │ ├── test_roi_extractors/ │ │ │ │ ├── test_generic_roi_extractor.py │ │ │ │ └── test_single_level_roi_extractor.py │ │ │ ├── test_scnet_roi_head.py │ │ │ ├── test_sparse_roi_head.py │ │ │ ├── test_standard_roi_head.py │ │ │ └── test_trident_roi_head.py │ │ ├── test_seg_heads/ │ │ │ ├── test_heuristic_fusion_head.py │ │ │ ├── test_maskformer_fusion_head.py │ │ │ └── test_panoptic_fpn_head.py │ │ ├── test_task_modules/ │ │ │ ├── __init__.py │ │ │ ├── test_assigners/ │ │ │ │ ├── test_approx_max_iou_assigner.py │ │ │ │ ├── test_atss_assigner.py │ │ │ │ ├── test_center_region_assigner.py │ │ │ │ ├── test_dynamic_soft_label_assigner.py │ │ │ │ ├── test_grid_assigner.py │ │ │ │ ├── test_hungarian_assigner.py │ │ │ │ ├── test_max_iou_assigner.py │ │ │ │ ├── test_point_assigner.py │ │ │ │ ├── test_region_assigner.py │ │ │ │ ├── test_simota_assigner.py │ │ │ │ ├── test_task_aligned_assigner.py │ │ │ │ └── test_task_uniform_assigner.py │ │ │ ├── test_coder/ │ │ │ │ └── test_delta_xywh_bbox_coder.py │ │ │ ├── test_iou2d_calculator.py │ │ │ ├── test_prior_generators/ │ │ │ │ └── test_anchor_generator.py │ │ │ └── test_samplers/ │ │ │ └── test_pesudo_sampler.py │ │ ├── test_tta/ │ │ │ └── test_det_tta.py │ │ └── test_utils/ │ │ ├── test_misc.py │ │ └── test_model_misc.py │ ├── test_structures/ │ │ ├── __init__.py │ │ ├── test_bbox/ │ │ │ ├── __init__.py │ │ │ ├── test_base_boxes.py │ │ │ ├── test_box_type.py │ │ │ ├── test_horizontal_boxes.py │ │ │ └── utils.py │ │ ├── test_det_data_sample.py │ │ └── test_mask/ │ │ └── test_mask_structures.py │ ├── test_utils/ │ │ ├── test_benchmark.py │ │ ├── test_memory.py │ │ ├── test_replace_cfg_vals.py │ │ └── test_setup_env.py │ └── test_visualization/ │ ├── test_local_visualizer.py │ └── test_palette.py └── tools/ ├── analysis_tools/ │ ├── analyze_logs.py │ ├── analyze_results.py │ ├── benchmark.py │ ├── browse_dataset.py │ ├── coco_error_analysis.py │ ├── coco_occluded_separated_recall.py │ ├── confusion_matrix.py │ ├── eval_metric.py │ ├── get_flops.py │ ├── optimize_anchors.py │ ├── robustness_eval.py │ └── test_robustness.py ├── dataset_converters/ │ ├── cityscapes.py │ ├── images2coco.py │ └── pascal_voc.py ├── deployment/ │ ├── mmdet2torchserve.py │ ├── mmdet_handler.py │ └── test_torchserver.py ├── dist_test.sh ├── dist_train.sh ├── misc/ │ ├── download_dataset.py │ ├── gen_coco_panoptic_test_info.py │ ├── get_crowdhuman_id_hw.py │ ├── get_image_metas.py │ ├── print_config.py │ └── split_coco.py ├── model_converters/ │ ├── detectron2_to_mmdet.py │ ├── detectron2pytorch.py │ ├── publish_model.py │ ├── regnet2mmdet.py │ ├── selfsup2mmdet.py │ ├── upgrade_model_version.py │ └── upgrade_ssd_version.py ├── slurm_test.sh ├── slurm_train.sh ├── test.py └── train.py