2024
We propose CCKT-Det.
Our models are set under python=3.9
, pytorch=2.4.1
. Other versions might be available as well.
- Compiling CUDA operators as deformable-detr
- Install other packages including open-clip, coco-api,
mmdet
,timm
,mmcv-full
For OVD-COCO setting, Please follow download COCO2017 dataset and follow OVR-CNN to split data into base and novel class.
The data file is organised as following:
coco_path/
├── train2017/
├── val2017/
└── annotations/
├── instances_train2017_base.json
└── instances_val2017_all.json
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -m torch.distributed.launch --nproc_per_node=8 --use_env main.py --with_box_refine --output_dir outputs/
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -m torch.distributed.launch --nproc_per_node=8 --use_env main.py --with_box_refine --output_dir outputs/ --eval --resume outputs/checkpoint.pth