GithubHelp home page GithubHelp logo

asahi417 / deepdomainadaptation Goto Github PK

View Code? Open in Web Editor NEW
26.0 2.0 7.0 225 KB

Tensorflow deep learning based domain adaptation model implementations with experiment of estimate MNIST by SVHN data (SVHN -> MNIST): DANN (domain-adversarial neural network), Deep JDOT (joint distribution optimal transportation)

License: MIT License

Python 100.00%
deep-learning domain-adaptation adversarial-training tensorflow

deepdomainadaptation's Introduction

Deep Domain Adaptation

dep1 license

Tensorflow implementation of deep learning based domain adaptation models. See more in implemented algorithm.

Work in progress: Experiment results will be appeared soon!

Get started

git clone https://github.com/asahi417/DeepDomainAdaptation
cd DeepDomainAdaptation
pip install .
  • install error
    You might have install error if your environment dosen't have numpy and cython, due to the pot library. Then, import them before install this repo.
pip install numpy
pip install cython
pip install .

Script

This script converts dataset to tfrecord format.

usage: script_tfrecord.py [-h] --data [DATA]

optional arguments:
  -h, --help     show this help message and exit
  --data [DATA]  dataset name in dict_keys(['mnist', 'svhn'])

This script is to train models.

usage: script_train.py [-h] -m [MODEL] -e [EPOCH] [-v [VERSION]]

optional arguments:
  -h, --help            show this help message and exit
  -m [MODEL], --model [MODEL]
                        Model name in dict_keys(['dann', 'deep_jdot'])
  -e [EPOCH], --epoch [EPOCH]
                        Epoch
  -v [VERSION], --version [VERSION]
                        Checkpoint version if train from existing checkpoint

List of Models

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.