Skip to content
/ ddan Public

Deep domain adaptation networks (DDAN) library for Python with TensorFlow.

License

Notifications You must be signed in to change notification settings

erlendd/ddan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About Deep Domain Adaptation Networks (ddan)

Deep domain adaptation networks (DDAN) is a Python library for domain adapation written in TensorFlow.

Implemented models

The following neural network models are implemented in ddan:

Installation

git clone https://github.com/erlendd/ddan.git
cd ddan
sudo pip install .
*OR*

   sudo python setup.py install

Usage

Full working examples can be found in the examples/ directory.

import ddan

model = ddan.DANNModel(epochs=1000, batch_size=64)
# Xs, ys are for the source domain, Xt, (yt) are for the target domain
model.fit(Xs, ys, Xt)
# Obtain predictions from trained model
yprobs = model.predict_proba(Xval)

About

Deep domain adaptation networks (DDAN) library for Python with TensorFlow.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages