gitextract_fypon3it/ ├── .gitignore ├── LICENSE ├── README.md ├── app.py ├── mmdet/ │ ├── __init__.py │ ├── apis/ │ │ ├── __init__.py │ │ ├── inference.py │ │ ├── test.py │ │ └── train.py │ ├── core/ │ │ ├── __init__.py │ │ ├── anchor/ │ │ │ ├── __init__.py │ │ │ ├── anchor_generator.py │ │ │ ├── builder.py │ │ │ ├── point_generator.py │ │ │ └── utils.py │ │ ├── bbox/ │ │ │ ├── __init__.py │ │ │ ├── assigners/ │ │ │ │ ├── __init__.py │ │ │ │ ├── approx_max_iou_assigner.py │ │ │ │ ├── ascend_assign_result.py │ │ │ │ ├── ascend_max_iou_assigner.py │ │ │ │ ├── assign_result.py │ │ │ │ ├── atss_assigner.py │ │ │ │ ├── base_assigner.py │ │ │ │ ├── center_region_assigner.py │ │ │ │ ├── grid_assigner.py │ │ │ │ ├── hungarian_assigner.py │ │ │ │ ├── mask_hungarian_assigner.py │ │ │ │ ├── max_iou_assigner.py │ │ │ │ ├── point_assigner.py │ │ │ │ ├── region_assigner.py │ │ │ │ ├── sim_ota_assigner.py │ │ │ │ ├── task_aligned_assigner.py │ │ │ │ └── uniform_assigner.py │ │ │ ├── builder.py │ │ │ ├── coder/ │ │ │ │ ├── __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 │ │ │ ├── demodata.py │ │ │ ├── iou_calculators/ │ │ │ │ ├── __init__.py │ │ │ │ ├── builder.py │ │ │ │ └── iou2d_calculator.py │ │ │ ├── match_costs/ │ │ │ │ ├── __init__.py │ │ │ │ ├── builder.py │ │ │ │ └── match_cost.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 │ │ │ │ ├── ohem_sampler.py │ │ │ │ ├── pseudo_sampler.py │ │ │ │ ├── random_sampler.py │ │ │ │ ├── sampling_result.py │ │ │ │ └── score_hlr_sampler.py │ │ │ └── transforms.py │ │ ├── data_structures/ │ │ │ ├── __init__.py │ │ │ ├── general_data.py │ │ │ └── instance_data.py │ │ ├── evaluation/ │ │ │ ├── __init__.py │ │ │ ├── bbox_overlaps.py │ │ │ ├── class_names.py │ │ │ ├── eval_hooks.py │ │ │ ├── mean_ap.py │ │ │ ├── panoptic_utils.py │ │ │ └── recall.py │ │ ├── export/ │ │ │ ├── __init__.py │ │ │ ├── model_wrappers.py │ │ │ ├── onnx_helper.py │ │ │ └── pytorch2onnx.py │ │ ├── hook/ │ │ │ ├── __init__.py │ │ │ ├── checkloss_hook.py │ │ │ ├── ema.py │ │ │ ├── memory_profiler_hook.py │ │ │ ├── set_epoch_info_hook.py │ │ │ ├── sync_norm_hook.py │ │ │ ├── sync_random_size_hook.py │ │ │ ├── wandblogger_hook.py │ │ │ ├── yolox_lrupdater_hook.py │ │ │ └── yolox_mode_switch_hook.py │ │ ├── mask/ │ │ │ ├── __init__.py │ │ │ ├── mask_target.py │ │ │ ├── structures.py │ │ │ └── utils.py │ │ ├── optimizers/ │ │ │ ├── __init__.py │ │ │ ├── builder.py │ │ │ └── layer_decay_optimizer_constructor.py │ │ ├── post_processing/ │ │ │ ├── __init__.py │ │ │ ├── bbox_nms.py │ │ │ ├── matrix_nms.py │ │ │ └── merge_augs.py │ │ ├── utils/ │ │ │ ├── __init__.py │ │ │ ├── dist_utils.py │ │ │ └── misc.py │ │ └── visualization/ │ │ ├── __init__.py │ │ ├── image.py │ │ └── palette.py │ ├── datasets/ │ │ ├── __init__.py │ │ ├── api_wrappers/ │ │ │ ├── __init__.py │ │ │ ├── coco_api.py │ │ │ └── panoptic_evaluation.py │ │ ├── builder.py │ │ ├── cityscapes.py │ │ ├── coco.py │ │ ├── coco_occluded.py │ │ ├── coco_panoptic.py │ │ ├── custom.py │ │ ├── dataset_wrappers.py │ │ ├── deepfashion.py │ │ ├── lvis.py │ │ ├── objects365.py │ │ ├── openimages.py │ │ ├── pipelines/ │ │ │ ├── __init__.py │ │ │ ├── auto_augment.py │ │ │ ├── compose.py │ │ │ ├── formating.py │ │ │ ├── formatting.py │ │ │ ├── instaboost.py │ │ │ ├── loading.py │ │ │ ├── test_time_aug.py │ │ │ └── transforms.py │ │ ├── samplers/ │ │ │ ├── __init__.py │ │ │ ├── class_aware_sampler.py │ │ │ ├── distributed_sampler.py │ │ │ ├── group_sampler.py │ │ │ └── infinite_sampler.py │ │ ├── utils.py │ │ ├── voc.py │ │ ├── wider_face.py │ │ └── xml_style.py │ ├── models/ │ │ ├── __init__.py │ │ ├── backbones/ │ │ │ ├── __init__.py │ │ │ ├── csp_darknet.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 │ │ ├── builder.py │ │ ├── dense_heads/ │ │ │ ├── __init__.py │ │ │ ├── anchor_free_head.py │ │ │ ├── anchor_head.py │ │ │ ├── ascend_anchor_head.py │ │ │ ├── ascend_retina_head.py │ │ │ ├── ascend_ssd_head.py │ │ │ ├── atss_head.py │ │ │ ├── autoassign_head.py │ │ │ ├── base_dense_head.py │ │ │ ├── base_mask_head.py │ │ │ ├── cascade_rpn_head.py │ │ │ ├── centernet_head.py │ │ │ ├── centripetal_head.py │ │ │ ├── corner_head.py │ │ │ ├── ddod_head.py │ │ │ ├── deformable_detr_head.py │ │ │ ├── dense_test_mixins.py │ │ │ ├── detr_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 │ │ │ ├── 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 │ │ │ ├── cascade_rcnn.py │ │ │ ├── centernet.py │ │ │ ├── cornernet.py │ │ │ ├── ddod.py │ │ │ ├── deformable_detr.py │ │ │ ├── detr.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 │ │ │ ├── scnet.py │ │ │ ├── single_stage.py │ │ │ ├── single_stage_instance_seg.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 │ │ ├── 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 │ │ │ ├── seesaw_loss.py │ │ │ ├── smooth_l1_loss.py │ │ │ ├── utils.py │ │ │ └── varifocal_loss.py │ │ ├── necks/ │ │ │ ├── __init__.py │ │ │ ├── bfp.py │ │ │ ├── channel_mapper.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 │ │ │ ├── yolo_neck.py │ │ │ └── yolox_pafpn.py │ │ ├── plugins/ │ │ │ ├── __init__.py │ │ │ ├── dropblock.py │ │ │ ├── msdeformattn_pixel_decoder.py │ │ │ └── pixel_decoder.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 │ │ │ │ ├── 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 │ │ │ ├── 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 │ │ └── utils/ │ │ ├── __init__.py │ │ ├── brick_wrappers.py │ │ ├── builder.py │ │ ├── ckpt_convert.py │ │ ├── conv_upsample.py │ │ ├── csp_layer.py │ │ ├── gaussian_target.py │ │ ├── inverted_residual.py │ │ ├── make_divisible.py │ │ ├── misc.py │ │ ├── normed_predictor.py │ │ ├── panoptic_gt_processing.py │ │ ├── point_sample.py │ │ ├── positional_encoding.py │ │ ├── res_layer.py │ │ ├── se_layer.py │ │ └── transformer.py │ ├── utils/ │ │ ├── __init__.py │ │ ├── ascend_util.py │ │ ├── collect_env.py │ │ ├── compat_config.py │ │ ├── contextmanagers.py │ │ ├── logger.py │ │ ├── memory.py │ │ ├── misc.py │ │ ├── profiling.py │ │ ├── replace_cfg_vals.py │ │ ├── rfnext.py │ │ ├── setup_env.py │ │ ├── split_batch.py │ │ ├── util_distribution.py │ │ ├── util_mixins.py │ │ └── util_random.py │ └── version.py ├── projects/ │ ├── configs/ │ │ ├── _base_/ │ │ │ ├── datasets/ │ │ │ │ ├── coco_detection.py │ │ │ │ ├── coco_instance.py │ │ │ │ └── coco_panoptic.py │ │ │ └── default_runtime.py │ │ ├── focalnet_dino/ │ │ │ ├── focalnet-l-dino_sam-vit-b.py │ │ │ ├── focalnet-l-dino_sam-vit-h.py │ │ │ ├── focalnet-l-dino_sam-vit-h_best-in-multi_cascade.py │ │ │ └── focalnet-l-dino_sam-vit-l.py │ │ └── hdetr/ │ │ ├── r50-hdetr_sam-vit-b.py │ │ ├── r50-hdetr_sam-vit-b_best-in-multi.py │ │ ├── r50-hdetr_sam-vit-b_best-in-multi_cascade.py │ │ ├── r50-hdetr_sam-vit-b_cascade.py │ │ ├── r50-hdetr_sam-vit-l.py │ │ ├── swin-l-hdetr_sam-vit-b.py │ │ ├── swin-l-hdetr_sam-vit-h.py │ │ ├── swin-l-hdetr_sam-vit-h_best-in-multi_cascade.py │ │ ├── swin-l-hdetr_sam-vit-l.py │ │ ├── swin-t-hdetr_sam-vit-b.py │ │ └── swin-t-hdetr_sam-vit-l.py │ └── instance_segment_anything/ │ ├── __init__.py │ ├── models/ │ │ ├── det_wrapper_instance_sam.py │ │ ├── det_wrapper_instance_sam_cascade.py │ │ ├── focalnet_dino/ │ │ │ ├── focalnet_dino_wrapper.py │ │ │ └── models/ │ │ │ ├── __init__.py │ │ │ └── dino/ │ │ │ ├── __init__.py │ │ │ ├── attention.py │ │ │ ├── backbone.py │ │ │ ├── convnext.py │ │ │ ├── deformable_transformer.py │ │ │ ├── dino.py │ │ │ ├── dn_components.py │ │ │ ├── focal.py │ │ │ ├── matcher.py │ │ │ ├── position_encoding.py │ │ │ ├── segmentation.py │ │ │ ├── swin_transformer.py │ │ │ ├── transformer_deformable.py │ │ │ ├── util/ │ │ │ │ ├── __init__.py │ │ │ │ ├── box_loss.py │ │ │ │ ├── box_ops.py │ │ │ │ ├── coco_id2name.json │ │ │ │ ├── get_param_dicts.py │ │ │ │ ├── logger.py │ │ │ │ ├── misc.py │ │ │ │ ├── plot_utils.py │ │ │ │ ├── slconfig.py │ │ │ │ ├── slio.py │ │ │ │ ├── static_data_path.py │ │ │ │ ├── time_counter.py │ │ │ │ ├── utils.py │ │ │ │ ├── vis_utils.py │ │ │ │ └── visualizer.py │ │ │ └── utils.py │ │ ├── hdetr/ │ │ │ ├── hdetr_wrapper.py │ │ │ └── models/ │ │ │ ├── __init__.py │ │ │ ├── backbone.py │ │ │ ├── deformable_detr.py │ │ │ ├── deformable_transformer.py │ │ │ ├── matcher.py │ │ │ ├── position_encoding.py │ │ │ ├── segmentation.py │ │ │ ├── swin_transformer.py │ │ │ └── util/ │ │ │ ├── __init__.py │ │ │ ├── box_ops.py │ │ │ ├── misc.py │ │ │ └── plot_utils.py │ │ └── segment_anything/ │ │ ├── __init__.py │ │ ├── automatic_mask_generator.py │ │ ├── build_sam.py │ │ ├── modeling/ │ │ │ ├── __init__.py │ │ │ ├── common.py │ │ │ ├── image_encoder.py │ │ │ ├── mask_decoder.py │ │ │ ├── prompt_encoder.py │ │ │ ├── sam.py │ │ │ └── transformer.py │ │ ├── predictor.py │ │ └── utils/ │ │ ├── __init__.py │ │ ├── amg.py │ │ ├── onnx.py │ │ └── transforms.py │ └── ops/ │ ├── functions/ │ │ ├── __init__.py │ │ └── ms_deform_attn_func.py │ ├── make.sh │ ├── modules/ │ │ ├── __init__.py │ │ └── ms_deform_attn.py │ ├── setup.py │ ├── src/ │ │ ├── cpu/ │ │ │ ├── ms_deform_attn_cpu.cpp │ │ │ └── ms_deform_attn_cpu.h │ │ ├── cuda/ │ │ │ ├── ms_deform_attn_cuda.cu │ │ │ ├── ms_deform_attn_cuda.h │ │ │ └── ms_deform_im2col_cuda.cuh │ │ ├── ms_deform_attn.h │ │ └── vision.cpp │ └── test.py ├── requirements/ │ ├── albu.txt │ ├── build.txt │ ├── docs.txt │ ├── mminstall.txt │ ├── optional.txt │ ├── readthedocs.txt │ ├── runtime.txt │ └── tests.txt ├── requirements.txt ├── setup.cfg ├── setup.py └── tools/ ├── convert_ckpt.py ├── dist_test.sh └── test.py