This is the official code repository for "Source-free Video Domain Adaptation by Learning from Noisy Labels", Arxiv'24. An initial version of this work is published at ICVGIP'22.
To install dependencies, please use the following command -
conda env create -f environment.yml
To reproduce the results reported in the paper, please follow the steps given below -
data
├── flow
├── rgb
| ├── ucf101
| | ├── v_YoYo_g25_c05
| | ├── ...
| ├── hmdb51
You may need to adjust the data
path in the script
bash scripts/source_only_train.sh ucf101 hmdb51 Joint
bash scripts/generate_pseudo_labels.sh ucf101 hmdb51 Joint 12
To run the CleanAdapt, assuming \tau = 0.5
-
bash scripts/adaptation_uh.sh ucf101 hmdb51 Joint 0.5
To run the CleanAdapt + TS, assuming \tau = 0.5
-
bash scripts/adaptation_uh_ema.sh ucf101 hmdb51 Joint 0.5
Please check the parse_args.py
for more details on the argumments.
Please consider citing the following work if you make use of this repository:
@inproceedings{dasgupta2024source,
title={Source-free Video Domain Adaptation by Learning from Noisy Labels},
author={Dasgupta, Avijit and Jawahar, CV and Alahari, Karteek},
booktitle={Arxiv},
year={2024}
@inproceedings{dasgupta2022overcoming,
title={Overcoming Label Noise for Source-free Unsupervised Video Domain Adaptation},
author={Dasgupta, Avijit and Jawahar, CV and Alahari, Karteek},
booktitle={ICVGIP},
year={2022}
}
In case of any issues, feel free to create a pull request. Or reach out to Avijit Dasgupta.