Skip to content
This repository has been archived by the owner on May 14, 2023. It is now read-only.

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

Notifications You must be signed in to change notification settings

asahi417/DeepDomainAdaptation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages