Implementation of "Adversarial Discriminative Domain Adaptation" in PyTorch
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
600 B

6 years ago
# ADDA.PyTorch
implement Adversarial Discriminative Domain Adapation in PyTorch
6 years ago
This repo is mostly based on https://github.com/Fujiki-Nakamura/ADDA.PyTorch
6 years ago
## Example
```
$ python train_source.py --logdir outputs
$ python main.py --logdir outputs --trained outputs/best_model.pt --slope 0.2
```
6 years ago
## Result
### SVHN -> MNIST
| | Paper | This Repro |
| --- | --- | --- |
| Source only | 0.601 | 0.659 |
| ADDA | 0.760 | ~0.83 |
![adversarial](adversarial.png)
![target_domain](target_domain.png)
## Resource
- https://arxiv.org/pdf/1702.05464.pdf
- https://github.com/Fujiki-Nakamura/ADDA.PyTorch