Code release for "Unsupervised Multi-Class Domain Adaptation: Theory, Algorithms, and Practice", which is an extension of our preliminary work of SymmNets [Paper] [Code]
For the convenience of potential users, we reimplement the project with the newest edition of the PyTorch (1.2.0).
We provide several script examples in the run_temp.sh, and the corresponding log file in the folder of \experiments. You can start with these examples easily.
- Code of McDalNets
For the Office-31, ImageCLEF, Office-Home, VisDA-2017 datasets (Finished)- For the Digits dataset
- Code of SymNets-V2
- For the Closed Set DA
Based on the ResNet (Finished)- Based on the AlexNet
- For the Digits dataset
- Strengthened for Closed Set UDA
- For the Partial DA
Based on the ResNet (Finished)- Based on the AlexNet
- For the Open Set DA
Based on the ResNet (Finished)
- For the Closed Set DA
The structure of the dataset should be like
Office-31
|_ amazon
| |_ back_pack
| |_ <im-1-name>.jpg
| |_ ...
| |_ <im-N-name>.jpg
| |_ bike
| |_ <im-1-name>.jpg
| |_ ...
| |_ <im-N-name>.jpg
| |_ ...
|_ dslr
| |_ back_pack
| |_ <im-1-name>.jpg
| |_ ...
| |_ <im-N-name>.jpg
| |_ bike
| |_ <im-1-name>.jpg
| |_ ...
| |_ <im-N-name>.jpg
| |_ ...
|_ ...
@inproceedings{zhang2019domain,
title={Domain-symmetric networks for adversarial domain adaptation},
author={Zhang, Yabin and Tang, Hui and Jia, Kui and Tan, Mingkui},
booktitle={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition},
pages={5031--5040},
year={2019}
}
@article{zhang2020unsupervised,
title={Unsupervised Multi-Class Domain Adaptation: Theory, Algorithms, and Practice},
author={Zhang, Yabin and Deng, Bin and Tang, Hui and Zhang, Lei and Jia, Kui},
journal={arXiv preprint arXiv:2002.08681},
year={2020}
}
If you have any problem about our code, feel free to contact
or describe your problem in Issues.