Giter VIP home page Giter VIP logo

dage's Introduction

Domain Adaption using Graph Embedding (DAGE)

This repository supplies an implementation of a the supervised domain adaptation method Domain Adaptation using Graph Embedding (DAGE).

We additionally provide implementations of the following baseline transfer learning and domain adaptation methods:

  • Fine tuning using gradual unfreeze
  • CCSA
  • d-SNE

Datasets and abbreviation

Experiments Datasets
Office-31 AMAZON (A), DSLR (D), and WEBCAM (W)
MNIST -> USPS MNIST (M), USPS (U)

Setup

Install dependencies

$ conda env create --file environment.yml
$ conda activate dage

Download datasets

$ ./scripts/get_office.sh
$ ./scripts/get_digits.sh

Running the code

run.py is the entry-point for running the implemented methods. To retreive a list of valid arguments, use python run.py --help.

A number of ready-to-run scripts are supplied (found in the scripts folder), with which one can test different methods and configurations.

An example which tunes a model on source data, and tests on target data is

$ ./scripts/office31_tune_source.sh

Running DAGE of Office31 with tuned hyperparameters is acheived by using.

$ /scripts/office31_dage_lda_tuned_vgg16.sh

Hyper-parameter optimisation

A separate python entry-point hypersearch.py can be used to perform a hyper-parameter search using Bayesian Optimisation.

Results

A number of notebooks are supplied, in which one can visualise the Office-31 data, see the results of our experiments, and the conducted hyper-parameter search.

Authors

dage's People

Contributors

lukasbiir avatar lukashedegaard avatar dependabot[bot] avatar

Watchers

James Cloos 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.