Keon-Hee Park, Seun-An Choe, Gyeong-Moon Park
Official Pytorch implementation of SFUOD: Source-Free Unknown Object Detection, ICCV 2025.
-
Linux, CUDA >= 11.1, GCC >= 8.4
-
Python >= 3.8
-
torch >= 1.10.1, torchvision >= 0.11.2
-
Other requirements
pip install -r requirements.txt
cd ./models/ops
sh ./make.sh
# unit test (should see all checking is True)
python test.pyWeather Adaptation:
Cityscapes (source domain) → FoggyCityscapes with foggy level 0.02 (target domain).
You can download the raw data from the official websites: Cityscapes, FoggyCityscapes. The annotations, converted into COCO format, can download from here. The datasets and annotations are organized as:
[data_root]
└─ cityscapes
└─ annotations
└─ cityscapes_train_cocostyle.json
└─ cityscapes_val_cocostyle.json
└─ leftImg8bit
└─ train
└─ val
└─ foggy_cityscapes
└─ annotations
└─ foggy_cityscapes_train_cocostyle.json
└─ foggy_cityscapes_val_cocostyle.json
└─ leftImg8bit_foggy
└─ train
└─ valfirst edit the files in configs/def-detr-base/city2foggy/ to specify your own DATA_ROOT and OUTPUT_DIR, then run:
sh configs/def-detr-base/city2foggy/source_only_sfuod.shMean-Teacher framework
sh configs/def-detr-base/city2foggy/teaching_standard_sfuod.shDRU (ECCV 2024)
sh configs/def-detr-base/city2foggy/teaching_mask_sfuod.shTarget Training (Oracle)
sh configs/def-detr-base/city2foggy/target_only_sfuod.shThis implementation is built upon DRU, Deformable DETR, and MIC. We sincerely appreciate their contributions.