├── LICENSE ├── README.md ├── assets ├── mot.png ├── overall.png └── poster.pdf ├── benchmark.py ├── config.py ├── configs ├── soma_aood_city_to_bdd100k_r50.yaml ├── soma_aood_city_to_foggy_r50.yaml └── soma_aood_pascal_to_clipart_r50.yaml ├── datasets ├── DAOD.py ├── __init__.py ├── aood.py ├── aood_eval.py ├── coco.py ├── coco_eval.py ├── coco_panoptic.py ├── data_prefetcher.py ├── panoptic_eval.py ├── samplers.py ├── torchvision_datasets │ ├── __init__.py │ └── coco.py └── transforms.py ├── engine.py ├── engine_aood.py ├── main.py ├── main_multi_eval.py ├── models ├── __init__.py ├── backbone.py ├── deformable_detr.py ├── deformable_transformer.py ├── matcher.py ├── motif_detr.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 ├── ow_detr.py ├── position_encoding.py ├── segmentation.py └── utils.py ├── requirements.txt ├── run.sh ├── tools ├── launch.py ├── run_dist_launch.sh └── run_dist_slurm.sh └── util ├── __init__.py ├── anno_convert.py ├── box_ops.py ├── misc.py └── plot_utils.py /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/README.md -------------------------------------------------------------------------------- /assets/mot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/assets/mot.png -------------------------------------------------------------------------------- /assets/overall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/assets/overall.png -------------------------------------------------------------------------------- /assets/poster.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/assets/poster.pdf -------------------------------------------------------------------------------- /benchmark.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/benchmark.py -------------------------------------------------------------------------------- /config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/config.py -------------------------------------------------------------------------------- /configs/soma_aood_city_to_bdd100k_r50.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/configs/soma_aood_city_to_bdd100k_r50.yaml -------------------------------------------------------------------------------- /configs/soma_aood_city_to_foggy_r50.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/configs/soma_aood_city_to_foggy_r50.yaml -------------------------------------------------------------------------------- /configs/soma_aood_pascal_to_clipart_r50.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/configs/soma_aood_pascal_to_clipart_r50.yaml -------------------------------------------------------------------------------- /datasets/DAOD.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/datasets/DAOD.py -------------------------------------------------------------------------------- /datasets/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/datasets/__init__.py -------------------------------------------------------------------------------- /datasets/aood.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/datasets/aood.py -------------------------------------------------------------------------------- /datasets/aood_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/datasets/aood_eval.py -------------------------------------------------------------------------------- /datasets/coco.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/datasets/coco.py -------------------------------------------------------------------------------- /datasets/coco_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/datasets/coco_eval.py -------------------------------------------------------------------------------- /datasets/coco_panoptic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/datasets/coco_panoptic.py -------------------------------------------------------------------------------- /datasets/data_prefetcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/datasets/data_prefetcher.py -------------------------------------------------------------------------------- /datasets/panoptic_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/datasets/panoptic_eval.py -------------------------------------------------------------------------------- /datasets/samplers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/datasets/samplers.py -------------------------------------------------------------------------------- /datasets/torchvision_datasets/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/datasets/torchvision_datasets/__init__.py -------------------------------------------------------------------------------- /datasets/torchvision_datasets/coco.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/datasets/torchvision_datasets/coco.py -------------------------------------------------------------------------------- /datasets/transforms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/datasets/transforms.py -------------------------------------------------------------------------------- /engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/engine.py -------------------------------------------------------------------------------- /engine_aood.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/engine_aood.py -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/main.py -------------------------------------------------------------------------------- /main_multi_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/main_multi_eval.py -------------------------------------------------------------------------------- /models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/models/__init__.py -------------------------------------------------------------------------------- /models/backbone.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/models/backbone.py -------------------------------------------------------------------------------- /models/deformable_detr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/models/deformable_detr.py -------------------------------------------------------------------------------- /models/deformable_transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/models/deformable_transformer.py -------------------------------------------------------------------------------- /models/matcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/models/matcher.py -------------------------------------------------------------------------------- /models/motif_detr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/models/motif_detr.py -------------------------------------------------------------------------------- /models/ops/functions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/models/ops/functions/__init__.py -------------------------------------------------------------------------------- /models/ops/functions/ms_deform_attn_func.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/models/ops/functions/ms_deform_attn_func.py -------------------------------------------------------------------------------- /models/ops/make.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/models/ops/make.sh -------------------------------------------------------------------------------- /models/ops/modules/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/models/ops/modules/__init__.py -------------------------------------------------------------------------------- /models/ops/modules/ms_deform_attn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/models/ops/modules/ms_deform_attn.py -------------------------------------------------------------------------------- /models/ops/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/models/ops/setup.py -------------------------------------------------------------------------------- /models/ops/src/cpu/ms_deform_attn_cpu.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/models/ops/src/cpu/ms_deform_attn_cpu.cpp -------------------------------------------------------------------------------- /models/ops/src/cpu/ms_deform_attn_cpu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/models/ops/src/cpu/ms_deform_attn_cpu.h -------------------------------------------------------------------------------- /models/ops/src/cuda/ms_deform_attn_cuda.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/models/ops/src/cuda/ms_deform_attn_cuda.cu -------------------------------------------------------------------------------- /models/ops/src/cuda/ms_deform_attn_cuda.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/models/ops/src/cuda/ms_deform_attn_cuda.h -------------------------------------------------------------------------------- /models/ops/src/cuda/ms_deform_im2col_cuda.cuh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/models/ops/src/cuda/ms_deform_im2col_cuda.cuh -------------------------------------------------------------------------------- /models/ops/src/ms_deform_attn.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/models/ops/src/ms_deform_attn.h -------------------------------------------------------------------------------- /models/ops/src/vision.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/models/ops/src/vision.cpp -------------------------------------------------------------------------------- /models/ops/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/models/ops/test.py -------------------------------------------------------------------------------- /models/ow_detr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/models/ow_detr.py -------------------------------------------------------------------------------- /models/position_encoding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/models/position_encoding.py -------------------------------------------------------------------------------- /models/segmentation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/models/segmentation.py -------------------------------------------------------------------------------- /models/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/models/utils.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | pycocotools 2 | tqdm 3 | cython 4 | scipy 5 | yacs 6 | -------------------------------------------------------------------------------- /run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/run.sh -------------------------------------------------------------------------------- /tools/launch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/tools/launch.py -------------------------------------------------------------------------------- /tools/run_dist_launch.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/tools/run_dist_launch.sh -------------------------------------------------------------------------------- /tools/run_dist_slurm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/tools/run_dist_slurm.sh -------------------------------------------------------------------------------- /util/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/util/__init__.py -------------------------------------------------------------------------------- /util/anno_convert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/util/anno_convert.py -------------------------------------------------------------------------------- /util/box_ops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/util/box_ops.py -------------------------------------------------------------------------------- /util/misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/util/misc.py -------------------------------------------------------------------------------- /util/plot_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CityU-AIM-Group/SOMA/HEAD/util/plot_utils.py --------------------------------------------------------------------------------