Skip to content

Unsupervised Domain Adaptation by Backpropagation

Notifications You must be signed in to change notification settings

zengjichuan/DANN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a pytorch implementation of the paper Unsupervised Domain Adaptation by Backpropagation

Network Structure

p8KTyD.md.jpg

Dataset

First, you need download two datasets: source dataset mnist,

cd dataset
mkdir mnist
cd mnist
wget http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz
wget http://yann.lecun.com/exdb/mnist/train-labels-idx1-ubyte.gz
wget http://yann.lecun.com/exdb/mnist/t10k-images-idx3-ubyte.gz
wget http://yann.lecun.com/exdb/mnist/t10k-labels-idx1-ubyte.gz

and target dataset mnist_m from pan.baidu.com or Google Drive

cd dataset
mkdir mnist_m
cd mnist_m
tar -zvxf mnist_m.tar.gz

Training

Then, run main.py

About

Unsupervised Domain Adaptation by Backpropagation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages