├── .gitignore ├── LICENSE ├── README.md ├── coco_train.sh ├── configs ├── Base-RCNN.yaml ├── coco │ ├── base.yaml │ ├── mfdc_gfsod_novel_10shot_seedx.yaml │ ├── mfdc_gfsod_novel_1shot_seedx.yaml │ ├── mfdc_gfsod_novel_2shot_seedx.yaml │ ├── mfdc_gfsod_novel_30shot_seedx.yaml │ ├── mfdc_gfsod_novel_3shot_seedx.yaml │ └── mfdc_gfsod_novel_5shot_seedx.yaml └── voc │ ├── base1.yaml │ ├── base2.yaml │ ├── base3.yaml │ ├── mfdc_gfsod_novelx_10shot_seedx.yaml │ ├── mfdc_gfsod_novelx_1shot_seedx.yaml │ ├── mfdc_gfsod_novelx_2shot_seedx.yaml │ ├── mfdc_gfsod_novelx_3shot_seedx.yaml │ └── mfdc_gfsod_novelx_5shot_seedx.yaml ├── datasets ├── README.md ├── prepare_coco_few_shot.py ├── prepare_lvis_few_shot.py ├── prepare_voc_few_shot.py └── split_lvis_annotation.py ├── defrcn ├── __init__.py ├── checkpoint │ ├── __init__.py │ └── detection_checkpoint.py ├── config │ ├── __init__.py │ ├── compat.py │ ├── config.py │ └── defaults.py ├── data │ ├── __init__.py │ ├── builtin.py │ ├── builtin_meta.py │ ├── meta_coco.py │ └── meta_voc.py ├── dataloader │ ├── __init__.py │ ├── build.py │ └── dataset_mapper.py ├── engine │ ├── __init__.py │ ├── defaults.py │ └── hooks.py ├── evaluation │ ├── __init__.py │ ├── archs │ │ ├── __init__.py │ │ └── resnet.py │ ├── calibration_layer.py │ ├── coco_evaluation.py │ ├── evaluator.py │ ├── pascal_voc_evaluation.py │ └── testing.py ├── modeling │ ├── __init__.py │ ├── meta_arch │ │ ├── __init__.py │ │ ├── build.py │ │ ├── gdl.py │ │ └── rcnn.py │ └── roi_heads │ │ ├── __init__.py │ │ ├── box_head.py │ │ ├── fast_rcnn.py │ │ └── roi_heads.py └── solver │ ├── __init__.py │ ├── build.py │ └── lr_scheduler.py ├── requirements.txt ├── tools ├── create_config.py ├── extract_results.py └── model_surgery.py ├── train_net.py └── voc_train.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/README.md -------------------------------------------------------------------------------- /coco_train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/coco_train.sh -------------------------------------------------------------------------------- /configs/Base-RCNN.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/configs/Base-RCNN.yaml -------------------------------------------------------------------------------- /configs/coco/base.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/configs/coco/base.yaml -------------------------------------------------------------------------------- /configs/coco/mfdc_gfsod_novel_10shot_seedx.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/configs/coco/mfdc_gfsod_novel_10shot_seedx.yaml -------------------------------------------------------------------------------- /configs/coco/mfdc_gfsod_novel_1shot_seedx.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/configs/coco/mfdc_gfsod_novel_1shot_seedx.yaml -------------------------------------------------------------------------------- /configs/coco/mfdc_gfsod_novel_2shot_seedx.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/configs/coco/mfdc_gfsod_novel_2shot_seedx.yaml -------------------------------------------------------------------------------- /configs/coco/mfdc_gfsod_novel_30shot_seedx.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/configs/coco/mfdc_gfsod_novel_30shot_seedx.yaml -------------------------------------------------------------------------------- /configs/coco/mfdc_gfsod_novel_3shot_seedx.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/configs/coco/mfdc_gfsod_novel_3shot_seedx.yaml -------------------------------------------------------------------------------- /configs/coco/mfdc_gfsod_novel_5shot_seedx.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/configs/coco/mfdc_gfsod_novel_5shot_seedx.yaml -------------------------------------------------------------------------------- /configs/voc/base1.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/configs/voc/base1.yaml -------------------------------------------------------------------------------- /configs/voc/base2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/configs/voc/base2.yaml -------------------------------------------------------------------------------- /configs/voc/base3.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/configs/voc/base3.yaml -------------------------------------------------------------------------------- /configs/voc/mfdc_gfsod_novelx_10shot_seedx.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/configs/voc/mfdc_gfsod_novelx_10shot_seedx.yaml -------------------------------------------------------------------------------- /configs/voc/mfdc_gfsod_novelx_1shot_seedx.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/configs/voc/mfdc_gfsod_novelx_1shot_seedx.yaml -------------------------------------------------------------------------------- /configs/voc/mfdc_gfsod_novelx_2shot_seedx.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/configs/voc/mfdc_gfsod_novelx_2shot_seedx.yaml -------------------------------------------------------------------------------- /configs/voc/mfdc_gfsod_novelx_3shot_seedx.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/configs/voc/mfdc_gfsod_novelx_3shot_seedx.yaml -------------------------------------------------------------------------------- /configs/voc/mfdc_gfsod_novelx_5shot_seedx.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/configs/voc/mfdc_gfsod_novelx_5shot_seedx.yaml -------------------------------------------------------------------------------- /datasets/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datasets/prepare_coco_few_shot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/datasets/prepare_coco_few_shot.py -------------------------------------------------------------------------------- /datasets/prepare_lvis_few_shot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/datasets/prepare_lvis_few_shot.py -------------------------------------------------------------------------------- /datasets/prepare_voc_few_shot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/datasets/prepare_voc_few_shot.py -------------------------------------------------------------------------------- /datasets/split_lvis_annotation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/datasets/split_lvis_annotation.py -------------------------------------------------------------------------------- /defrcn/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defrcn/checkpoint/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/checkpoint/__init__.py -------------------------------------------------------------------------------- /defrcn/checkpoint/detection_checkpoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/checkpoint/detection_checkpoint.py -------------------------------------------------------------------------------- /defrcn/config/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/config/__init__.py -------------------------------------------------------------------------------- /defrcn/config/compat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/config/compat.py -------------------------------------------------------------------------------- /defrcn/config/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/config/config.py -------------------------------------------------------------------------------- /defrcn/config/defaults.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/config/defaults.py -------------------------------------------------------------------------------- /defrcn/data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/data/__init__.py -------------------------------------------------------------------------------- /defrcn/data/builtin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/data/builtin.py -------------------------------------------------------------------------------- /defrcn/data/builtin_meta.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/data/builtin_meta.py -------------------------------------------------------------------------------- /defrcn/data/meta_coco.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/data/meta_coco.py -------------------------------------------------------------------------------- /defrcn/data/meta_voc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/data/meta_voc.py -------------------------------------------------------------------------------- /defrcn/dataloader/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/dataloader/__init__.py -------------------------------------------------------------------------------- /defrcn/dataloader/build.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/dataloader/build.py -------------------------------------------------------------------------------- /defrcn/dataloader/dataset_mapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/dataloader/dataset_mapper.py -------------------------------------------------------------------------------- /defrcn/engine/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/engine/__init__.py -------------------------------------------------------------------------------- /defrcn/engine/defaults.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/engine/defaults.py -------------------------------------------------------------------------------- /defrcn/engine/hooks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/engine/hooks.py -------------------------------------------------------------------------------- /defrcn/evaluation/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/evaluation/__init__.py -------------------------------------------------------------------------------- /defrcn/evaluation/archs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/evaluation/archs/__init__.py -------------------------------------------------------------------------------- /defrcn/evaluation/archs/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/evaluation/archs/resnet.py -------------------------------------------------------------------------------- /defrcn/evaluation/calibration_layer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/evaluation/calibration_layer.py -------------------------------------------------------------------------------- /defrcn/evaluation/coco_evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/evaluation/coco_evaluation.py -------------------------------------------------------------------------------- /defrcn/evaluation/evaluator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/evaluation/evaluator.py -------------------------------------------------------------------------------- /defrcn/evaluation/pascal_voc_evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/evaluation/pascal_voc_evaluation.py -------------------------------------------------------------------------------- /defrcn/evaluation/testing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/evaluation/testing.py -------------------------------------------------------------------------------- /defrcn/modeling/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/modeling/__init__.py -------------------------------------------------------------------------------- /defrcn/modeling/meta_arch/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/modeling/meta_arch/__init__.py -------------------------------------------------------------------------------- /defrcn/modeling/meta_arch/build.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/modeling/meta_arch/build.py -------------------------------------------------------------------------------- /defrcn/modeling/meta_arch/gdl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/modeling/meta_arch/gdl.py -------------------------------------------------------------------------------- /defrcn/modeling/meta_arch/rcnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/modeling/meta_arch/rcnn.py -------------------------------------------------------------------------------- /defrcn/modeling/roi_heads/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/modeling/roi_heads/__init__.py -------------------------------------------------------------------------------- /defrcn/modeling/roi_heads/box_head.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/modeling/roi_heads/box_head.py -------------------------------------------------------------------------------- /defrcn/modeling/roi_heads/fast_rcnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/modeling/roi_heads/fast_rcnn.py -------------------------------------------------------------------------------- /defrcn/modeling/roi_heads/roi_heads.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/modeling/roi_heads/roi_heads.py -------------------------------------------------------------------------------- /defrcn/solver/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/solver/__init__.py -------------------------------------------------------------------------------- /defrcn/solver/build.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/solver/build.py -------------------------------------------------------------------------------- /defrcn/solver/lr_scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/defrcn/solver/lr_scheduler.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | opencv-python 2 | sklearn 3 | -------------------------------------------------------------------------------- /tools/create_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/tools/create_config.py -------------------------------------------------------------------------------- /tools/extract_results.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/tools/extract_results.py -------------------------------------------------------------------------------- /tools/model_surgery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/tools/model_surgery.py -------------------------------------------------------------------------------- /train_net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/train_net.py -------------------------------------------------------------------------------- /voc_train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuangw98/MFDC/HEAD/voc_train.sh --------------------------------------------------------------------------------