Skip to content

Repository files navigation

Progressive Graph Learning for Open-Set Domain Adaptation

News

Please also check our extension work on the source free open set domain adaptation accepted by TPAMI23. Code available at: https://github.com/Luoyadan/SF-PGL

Requirements

  • Python 3.6
  • Pytorch 1.3

Datasets

The links of datasets will be released afterwards,

Training

The general command for training is,

python3 train.py

Change arguments for different experiments:

  • dataset: "home" / "visda" / "visda18"
  • batch_size: mini_batch size
  • beta: The ratio of known target sample and Unk target sample in the pseudo label set
  • EF : Enlarging Factor α
  • num_layers: GNN's depth
  • adv_coeff: adversarial loss coefficient γ
  • node_loss: node classification loss μ For the detailed hyper-parameters setting for each dataset, please refer to Section 5.2 and Appendix 3.

Remember to change dataset_root to suit your own case

The training loss and validation accuracy will be automatically saved in './logs/', which can be visualized with tensorboard. The model weights will be saved in './checkpoints'

Graph Learning without Pseudo-labeling Results (ResNet-50)

VisDA-18 (alpha=1, beta=0.6)

PlaneBikeBusCarHorseKnifeMotorcyclePersonPlantSkateBTrainTruckUnkOS^*OS
0.4370.8070.5880.6460.8570.1550.9430.3550.8790.2500.7120.1260.4370.5530.563

Office-Home

SrcRACP
TarACPCPRRPAACRAvg.
OS0.7220.4990.7630.5050.5230.8260.7270.6220.5990.5890.4460.7520.639
OS*0.7330.5060.7770.5110.6320.8400.7390.6310.6070.5670.4490.7650.649

TODO List

  • Update the GradReverse layer for Pytorch 1.4

  • Update detail config file for datasets

    • VisDA-18
    • VisDA-17
    • Office-home
  • Fix progress bar

@inproceedings{luo2020progressive,
title={Progressive graph learning for open-set domain adaptation},
author={Luo, Yadan and Wang, Zijian and Huang, Zi and Baktashmotlagh, Mahsa},
booktitle={International Conference on Machine Learning},
pages={6468--6478},
year={2020},
organization={PMLR}
}
@article{luo2023source,
title={Source-free progressive graph learning for open-set domain adaptation},
author={Luo, Yadan and Wang, Zijian and Chen, Zhuoxiao and Huang, Zi and Baktashmotlagh, Mahsa},
journal={IEEE Transactions on Pattern Analysis and Machine Intelligence},
year={2023},
publisher={IEEE}
}

About

No description, website, or topics provided.

Resources

Stars

34 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages