- 🔔This is the re-implementation code for the paper "Periodically Exchange Teacher-Student for Source-Free Object Detection", ICCV 2023.
- Sometimes, it's also feasible to apply exchange strategies within a single teacher-student framework to alleviate instability issues.
The main python libraries we use:
- python 3.8
- torch 1.8.1
- detectron2
For convenience, the data annotation files have been uniformly processed into JSON files following COCO format. By the way, we have also processed the Clipart1K and Watercolor used in other methods. The source images of the dataset requires an additional download. The dataset configurations can be changed in PETS/ubteacher/data/datasets/builtin.py.
The C2F and C2B tasks share source weights in the method.
For example, to run the experiment, just enter the following cmd on root directory:
python train_net --config configs/UDA/C2F.yaml
If you would like to cite our works, the following bibtex code may be helpful:
@inproceedings{liu2023periodically,
title={Periodically exchange teacher-student for source-free object detection},
author={Liu, Qipeng and Lin, Luojun and Shen, Zhifeng and Yang, Zhifeng},
booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision},
pages={6414--6424},
year={2023}
}
This source code is released under the MIT license. View it here