by thuml

Code release for Universal Domain Adaptation(CVPR 2019)

150 Stars 32 Forks Last release: Not found 5 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Universal Domain Adaptation

Code release for Universal Domain Adaptation(CVPR 2019)


  • python 3.6+
  • PyTorch 1.0

pip install -r requirements.txt


  • download datasets

  • write your config file

  • python main.py --config /path/to/your/config/yaml/file
  • train (configurations in

    are only for officehome dataset):

python main.py --config officehome-train-config.yaml
  • test

python main.py --config officehome-test-config.yaml
  • monitor (tensorboard required)

tensorboard --logdir .


We provide the checkpoints for officehome datasets at Google Drive.


please cite:

author = {You, Kaichao and Long, Mingsheng and Cao, Zhangjie and Wang, Jianmin and Jordan, Michael I.},
title = {Universal Domain Adaptation},
booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
month = {June},
year = {2019}


We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.