forked from zhangxingcheng/Transfer-Learning-Library
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcdan.sh
More file actions
48 lines (45 loc) · 5.8 KB
/
cdan.sh
File metadata and controls
48 lines (45 loc) · 5.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/usr/bin/env bash
# Office31
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/office31 -d Office31 -s A -t W -a resnet50 --epochs 20 --seed 2 > benchmarks/cdan/Office31_A2W.txt
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/office31 -d Office31 -s D -t W -a resnet50 --epochs 20 --seed 2 > benchmarks/cdan/Office31_D2W.txt
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/office31 -d Office31 -s W -t D -a resnet50 --epochs 20 --seed 2 > benchmarks/cdan/Office31_W2D.txt
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/office31 -d Office31 -s A -t D -a resnet50 --epochs 20 --seed 2 > benchmarks/cdan/Office31_A2D.txt
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/office31 -d Office31 -s D -t A -a resnet50 --epochs 20 --seed 2 > benchmarks/cdan/Office31_D2A.txt
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/office31 -d Office31 -s W -t A -a resnet50 --epochs 20 --seed 2 > benchmarks/cdan/Office31_W2A.txt
# Office-Home
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/office-home -d OfficeHome -s Ar -t Cl -a resnet50 --epochs 30 --seed 0 > benchmarks/cdan/OfficeHome_Ar2Cl.txt
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/office-home -d OfficeHome -s Ar -t Pr -a resnet50 --epochs 30 --seed 0 > benchmarks/cdan/OfficeHome_Ar2Pr.txt
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/office-home -d OfficeHome -s Ar -t Rw -a resnet50 --epochs 30 --seed 0 > benchmarks/cdan/OfficeHome_Ar2Rw.txt
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/office-home -d OfficeHome -s Cl -t Ar -a resnet50 --epochs 30 --seed 0 > benchmarks/cdan/OfficeHome_Cl2Ar.txt
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/office-home -d OfficeHome -s Cl -t Pr -a resnet50 --epochs 30 --seed 0 > benchmarks/cdan/OfficeHome_Cl2Pr.txt
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/office-home -d OfficeHome -s Cl -t Rw -a resnet50 --epochs 30 --seed 0 > benchmarks/cdan/OfficeHome_Cl2Rw.txt
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/office-home -d OfficeHome -s Pr -t Ar -a resnet50 --epochs 30 --seed 0 > benchmarks/cdan/OfficeHome_Pr2Ar.txt
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/office-home -d OfficeHome -s Pr -t Cl -a resnet50 --epochs 30 --seed 0 > benchmarks/cdan/OfficeHome_Pr2Cl.txt
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/office-home -d OfficeHome -s Pr -t Rw -a resnet50 --epochs 30 --seed 0 > benchmarks/cdan/OfficeHome_Pr2Rw.txt
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/office-home -d OfficeHome -s Rw -t Ar -a resnet50 --epochs 30 --seed 0 > benchmarks/cdan/OfficeHome_Rw2Ar.txt
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/office-home -d OfficeHome -s Rw -t Cl -a resnet50 --epochs 30 --seed 0 > benchmarks/cdan/OfficeHome_Rw2Cl.txt
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/office-home -d OfficeHome -s Rw -t Pr -a resnet50 --epochs 30 --seed 0 > benchmarks/cdan/OfficeHome_Rw2Pr.txt
# VisDA-2017
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/visda-2017 -d VisDA2017 -s T -t V -a resnet50 --epochs 30 --seed 0 > benchmarks/cdan/VisDA2017.txt
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/visda-2017 -d VisDA2017 -s T -t V -a resnet101 --epochs 30 --seed 0 > benchmarks/cdan/VisDA2017_resnet101.txt
# DomainNet
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/domainnet -d DomainNet -s c -t i -a resnet101 --epochs 30 -i 2500 -p 500 --seed 0
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/domainnet -d DomainNet -s c -t p -a resnet101 --epochs 30 -i 2500 -p 500 --seed 0
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/domainnet -d DomainNet -s c -t r -a resnet101 --epochs 30 -i 2500 -p 500 --seed 0
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/domainnet -d DomainNet -s c -t s -a resnet101 --epochs 30 -i 2500 -p 500 --seed 0
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/domainnet -d DomainNet -s i -t c -a resnet101 --epochs 30 -i 2500 -p 500 --seed 0
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/domainnet -d DomainNet -s i -t p -a resnet101 --epochs 30 -i 2500 -p 500 --seed 0
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/domainnet -d DomainNet -s i -t r -a resnet101 --epochs 30 -i 2500 -p 500 --seed 0
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/domainnet -d DomainNet -s i -t s -a resnet101 --epochs 30 -i 2500 -p 500 --seed 0
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/domainnet -d DomainNet -s p -t c -a resnet101 --epochs 30 -i 2500 -p 500 --seed 0
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/domainnet -d DomainNet -s p -t i -a resnet101 --epochs 30 -i 2500 -p 500 --seed 0
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/domainnet -d DomainNet -s p -t r -a resnet101 --epochs 30 -i 2500 -p 500 --seed 0
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/domainnet -d DomainNet -s p -t s -a resnet101 --epochs 30 -i 2500 -p 500 --seed 0
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/domainnet -d DomainNet -s r -t c -a resnet101 --epochs 30 -i 2500 -p 500 --seed 0
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/domainnet -d DomainNet -s r -t i -a resnet101 --epochs 30 -i 2500 -p 500 --seed 0
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/domainnet -d DomainNet -s r -t p -a resnet101 --epochs 30 -i 2500 -p 500 --seed 0
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/domainnet -d DomainNet -s r -t s -a resnet101 --epochs 30 -i 2500 -p 500 --seed 0
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/domainnet -d DomainNet -s s -t c -a resnet101 --epochs 30 -i 2500 -p 500 --seed 0
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/domainnet -d DomainNet -s s -t i -a resnet101 --epochs 30 -i 2500 -p 500 --seed 0
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/domainnet -d DomainNet -s s -t p -a resnet101 --epochs 30 -i 2500 -p 500 --seed 0
CUDA_VISIBLE_DEVICES=0 python examples/cdan.py data/domainnet -d DomainNet -s s -t r -a resnet101 --epochs 30 -i 2500 -p 500 --seed 0