This repo contains the code for our IJCAI 2022 paper: Dynamic Domain Generalization.
git clone https://github.com/MetaVisionLab/DDG.git
cd DDG/ddg
python setup.py installgit clone https://github.com/MetaVisionLab/DDG.git
cd DDG/ddg
python setup.py developEnter the project directory and run the ddg/utils/datasets_download.py script to automatically perform data preprocessing.
cd /path/to/DDG/ddg
python ddg/utils/datasets_download.pyIf your environment encounters network issues, you can manually download the required files to the corresponding place, and the files with the same md5 will skip the download process and directly perform data preprocessing.
cd /path/to/DDG/ddg
bash ./scripts/ddg_PACS_resnet50.shIf this project is helpful to you, you can cite our paper:
@inproceedings{sun2022ddg,
title={Dynamic Domain Generalization},
author={Sun, Zhishu and Shen, Zhifeng and Lin, Luojun and Yu, Yuanlong and Yang, Zhifeng and Yang, Shicai and Chen, Weijie},
booktitle={IJCAI},
year={2022}
}
For any questions, please feel free to contact Dr. Zhishu Sun or Dr. Luojun Lin.
This code is free to the academic community for research purpose only. For commercial purpose usage, please contact Dr. Luojun Lin.