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

Latest commit

 

History

History
68 lines (50 loc) · 2.4 KB

README.md

File metadata and controls

68 lines (50 loc) · 2.4 KB

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