This repository contains the official implementation of "Simulate, Refocus and Ensemble: An Attention-Refocusing Scheme for Domain Generalization"
β οΈ Note: This is a preliminary release. The code is provided as-is. A cleaned-up and documented version may be released later.
- Source code
requirements.txt: Python dependencies
- Clone the repository and enter the folder
git clone https://github.com/bitPrincy/SRE-DG.git cd SRE-DG - Install dependencies
pip install -r requirements.txt
- Run the train script for multiple domain generalization
python shell_train.py
- Run the train script for open-set domain generalization
python shell_train_open.py
@article{Wang2025SimulateRA,
title={Simulate, Refocus and Ensemble: An Attention-Refocusing Scheme for Domain Generalization},
author={Ziyi Wang and Zhiqiang Gao and Jin Chen and Qingjie Zhao and Xinxiao Wu and Jiebo Luo},
journal={ArXiv},
year={2025},
volume={abs/2507.12851},
url={https://api.semanticscholar.org/CorpusID:280298541}
}