Pytorch implemention of our method for open set domain adaptation. Based on this implementation, our result is ranked 2nd in the VisDA Challenge 2018.
The code is developed under the following configuration.
1 GPU (with at least 11G GPU memories), which is set for the correspoinding batch size.
Python 3, Pytorch 0.4, and CUDA 8.0 are necessary before running the scripts. To install the required pythonn packages (expect Pytorch), run
pip install -r requirements.txt
Follow the github REPO to download the Syn2Real-O dataset, and put it in the ./data/visda
folder.
python train_source_only.py --config cfgs/source_only_exp001.yaml
python train_adabn.py --config cfgs/adabn_exp001.yaml
python train_mmd.py --config cfgs/mmd_exp001.yaml
python train_bp.py --config cfgs/bp_exp001.yaml
python train_se.py --config cfgs/se_exp001.yaml
python train_kase.py --config cfgs/kase_exp001.yaml
python train_kase_office.py --config cfgs/office/kase_a_d_exp001.yaml
python test_multi.py --config your_yaml
This project is licensed under the MIT License - see the LICENSE.md file for details