Skip to content

Commit f06a139

Browse files
committed
Update optimal hyper parameters for FixMatch (VisDA)
1 parent db2290d commit f06a139

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/domain_adaptation/image_classification/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ for three times and report their average accuracy.
154154
| AFN | 76.1 | 75.0 | 95.6 | 56.2 | 81.3 | 69.8 | 93.0 | 81.0 | 93.4 | 74.1 | 91.7 | 55.0 | 90.6 | 18.1 | 74.4 |
155155
| MDD | / | 82.0 | 88.3 | 62.8 | 85.2 | 69.9 | 91.9 | 95.1 | 94.4 | 81.2 | 93.8 | 89.8 | 84.1 | 47.9 | 79.8 |
156156
| MCC | 78.8 | 83.6 | 95.3 | 85.8 | 77.1 | 68.0 | 93.9 | 92.9 | 84.5 | 79.5 | 93.6 | 93.7 | 85.3 | 53.8 | 80.4 |
157-
| FixMatch | / | 77.5 | 94.3 | 75.1 | 72.4 | 87.2 | 95.6 | 88.5 | 92.2 | 37.5 | 97.3 | 84.6 | 88.0 | 17.0 | 77.1 |
157+
| FixMatch | / | 79.5 | 96.5 | 76.6 | 72.6 | 84.6 | 96.3 | 92.6 | 90.5 | 81.8 | 91.9 | 74.6 | 87.3 | 8.6 | 78.4 |
158158

159159
### DomainNet accuracy on ResNet-101
160160

examples/domain_adaptation/image_classification/fixmatch.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ CUDA_VISIBLE_DEVICES=0 python fixmatch.py data/office-home -d OfficeHome -s Rw -
2222
CUDA_VISIBLE_DEVICES=0 python fixmatch.py data/office-home -d OfficeHome -s Rw -t Pr -a resnet50 --lr 0.003 --bottleneck-dim 1024 --epochs 20 --seed 0 --log logs/fixmatch/OfficeHome_Rw2Pr
2323

2424
# ResNet101, VisDA-2017, Single Source
25-
CUDA_VISIBLE_DEVICES=0 python fixmatch.py data/visda-2017 -d VisDA2017 -s Synthetic -t Real -a resnet101 \
26-
--lr 0.003 --bottleneck-dim 2048 --epochs 20 -ub 64 --seed 0 --per-class-eval --train-resizing cen.crop --log logs/fixmatch/VisDA2017
25+
CUDA_VISIBLE_DEVICES=0 python fixmatch.py data/visda-2017 -d VisDA2017 -s Synthetic -t Real -a resnet101 --train-resizing cen.crop \
26+
--lr 0.003 --threshold 0.8 --bottleneck-dim 2048 --epochs 20 -ub 64 --seed 0 --per-class-eval --log logs/fixmatch/VisDA2017

0 commit comments

Comments
 (0)