Skip to content

Commit

Permalink
update to ICCV version
Browse files Browse the repository at this point in the history
  • Loading branch information
jihanyang committed Oct 24, 2019
1 parent fb2db63 commit d96515b
Show file tree
Hide file tree
Showing 40 changed files with 29 additions and 14 deletions.
31 changes: 23 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AFN

PyTorch implementation for *Unsupervised Domain Adaptation: An Adaptive Feature Norm Approach*.
PyTorch implementation for *Larger Norm More Transferable: An Adaptive Feature Norm Approach for Unsupervised Domain Adaptation*.

## Requirements

Expand All @@ -14,9 +14,9 @@ PyTorch implementation for *Unsupervised Domain Adaptation: An Adaptive Feature

## Datasets

Please follow the *README.md* in subfolder `Data` to organize the datasets
Please follow the *README.md* in subfolder `Data` to organize datasets

## Trainning and Evaluation
## Training and Evaluation

- Make sure you have organized datasets and satisfied the requirements.

Expand All @@ -37,23 +37,23 @@ Please follow the *README.md* in subfolder `Data` to organize the datasets
├── partial
│   ├── OfficeHome
│   │   ├── HAFN
│   │   └── IAFN
│   │   └── SAFN
│   ├── README.md
│   └── Visda2017
│   ├── HAFN
│   └── IAFN
│   └── SAFN
├── resources
└── vanilla
├── ImageCLEF
│   ├── HAFN
│   └── IAFN
│   └── SAFN
├── Office31
│   ├── HAFN
│   └── IAFN
│   └── SAFN
├── README.md
└── Visda2017
├── HAFN
└── IAFN
└── SAFN
```

Here are some description of parameters :
Expand All @@ -66,3 +66,18 @@ Here are some description of parameters :
- `gpu_id` : the GPU ID to run experiments.
- `model` : switch model between `resnet101` and `resnet50`



## Citation

If you use AFN in your research, please consider citing:

```Latex
@InProceedings{Xu_2019_ICCV,
author = {Xu, Ruijia and Li, Guanbin and Yang, Jihan and Lin, Liang},
title = {Larger Norm More Transferable: An Adaptive Feature Norm Approach for Unsupervised Domain Adaptation},
booktitle = {The IEEE International Conference on Computer Vision (ICCV)},
month = {October},
year = {2019}
}
```
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion partial/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Office-Home

### IAFN
### SAFN

| Repeat | Ar->Cl | Ar->Pr | Ar->Rw | Cl->Ar | Cl->Pr | Cl->Rw |
| :----: | :----: | :----: | :----: | :----: | :----: | :----: |
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions vanilla/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Office-31

### IAFN
### SAFN

| Repeat | A→W | D→W | W→D | A→D | D→A | W→A | Avg |
| :----: | :--: | :--: | :--: | :--: | :--: | :--: | :--: |
Expand All @@ -22,7 +22,7 @@
| Avg | 83.4 | 98.3 | 99.7 | 84.4 | 69.4 | 68.5 | 83.9 |
| Std | 0.7 | 0.1 | 0.1 | 0.7 | 0.5 | 0.3 | 0.1 |

### IAFN+ENT
### SAFN+ENT

| Repeat | A→W | D→W | W→D | A→D | D→A | W→A | Avg |
| :----: | :--: | :--: | :--: | :--: | :--: | :--: | :--: |
Expand All @@ -34,7 +34,7 @@

## ImageCLEF-DA

### IAFN
### SAFN

| Repeat | I→P | P→I | I→C | C→I | C→P | P→C | Avg |
| :----: | :--: | :--: | :--: | :--: | :--: | :--: | :--: |
Expand All @@ -54,7 +54,7 @@
| Avg | 76.9 | 89.0 | 94.4 | 89.6 | 74.9 | 92.9 | 86.3 |
| Std | 0.4 | 0.4 | 0.1 | 0.6 | 0.2 | 0.1 | 0.1 |

### IAFN+ENT
### SAFN+ENT

| Repeat | I→P | P→I | I→C | C→I | C→P | P→C | Avg |
| :----: | :--: | :--: | :--: | :--: | :--: | :--: | :--: |
Expand All @@ -66,7 +66,7 @@

## VisDA2017

### IAFN
### SAFN

| Repeat | plane | bcycl | bus | car | horse | knife | mcycl |
| :----: | :---: | :---: | :--: | :--: | :---: | :---: | :---: |
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d96515b

Please sign in to comment.