Git Product home page Git Product logo

4-j's Introduction

README

This file introduce the usage and outline of code.

The project code has the following directory structure

code
│  ADDA.py  # implementation of ADDA
│  Adversarial.py    
│  DANN.py    # implementation of DANN
│  Dataset.py    # implementation of Dataset
│  draw.py    # draw plot function
│  implementation_PR_PL.py    # implementation of PR-PL
│  main.py    
│  models.py    # implementation of models
│  model_PR_PL.py    # implementation of PR-PL model
│  parser.py    
│  README.md    # this file
│  ResNet.py    # implementation of ResNet model
│  search.py    # implementation of Bayes Search
│  SVM.py    # implementation of SVM
│  tca.py    # implementation of TCA
│
├─SEED-IV    # Train Data

How to run

To run the baseline and our model, go to path /code, run command:

python main.py --model XXX 

the model arg have the following selection:

  • Conventional ML model:
    • SVM
  • Conventional DL models:
    • MLP
    • resnet
  • Domain generalization models:
    • IRM
  • Domain adaptation models:
    • tca
    • DANN
    • ADDA
    • prpl

You can also use args like --lr or --batch_size to tune the hyperparameters.

Experiment Setup

All experiments are done on i9-10900X CPU @ 3.70GHz along with a GeForce RTX 3090 GPU.

4-j's People

Contributors

zwandering avatar

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.