Home

Awesome

openset-DA

This is an unofficial pytorch implementation of Open Set Domain Adaptation by Backpropagation.

Requirements

Usage

Run SVHN -> MNIST

python train.py --task s2m --gpu <gpu_id>

Run USPS -> MNIST

python train.py --task u2m --gpu <gpu_id> --grl-rampup-epochs 50

Run MNIST -> USPS

python train.py --task m2u --gpu <gpu_id> --grl-rampup-epochs 30

For more details and parameters, please refer to --help option.

Result

Please note that the parameters are not optimized.

SVHN -> MNIST

OSOS*ALLUNK
This Code63.860.670.780.1
Paper63.059.171.082.3

USPS -> MNIST

OSOS*ALLUNK
This Code84.885.882.879.5
Paper92.391.294.497.6

MNIST -> USPS

OSOS*ALLUNK
This Code88.388.489.087.9
Paper92.194.988.178.0