GithubHelp home page GithubHelp logo

pgl's Introduction

Progressive Graph Learning for Open-Set Domain Adaptation

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)

Plane Bike Bus Car Horse Knife Motorcycle Person Plant SkateB Train Truck Unk OS^* OS
0.437 0.807 0.588 0.646 0.857 0.155 0.943 0.355 0.879 0.250 0.712 0.126 0.437 0.553 0.563

Office-Home

Src R A C P
Tar A C P C P R R P A A C R Avg.
OS 0.722 0.499 0.763 0.505 0.523 0.826 0.727 0.622 0.599 0.589 0.446 0.752 0.639
OS* 0.733 0.506 0.777 0.511 0.632 0.840 0.739 0.631 0.607 0.567 0.449 0.765 0.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

pgl's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.