-
Notifications
You must be signed in to change notification settings - Fork 1
/
dbr.sh
125 lines (90 loc) · 11.6 KB
/
dbr.sh
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
#! /bin/bash
echo "RUNNING ${0%/*} ... "
echo "1. Creating and activating virtual environment called MMG_env."
python3 -m venv MMG_env
source MMG_env/bin/activate
echo "2. Pip install dependencies from requirements.txt"
#pip3 install --upgrade pip --quiet
#pip3 install -r requirements.txt --quiet
#pip3 install -f https://download.pytorch.org/whl/torch_stable.html torch==1.8.1+cu111 torchvision==0.9.1+cu111
echo "3. Now running ${0%/*} experiments.."
### Running Experiments from https://arxiv.org/abs/2407.12669
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr0.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr0.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr0.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr1.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr1.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr1.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr2.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr2.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr2.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr3a.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr3b.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr3c.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr4.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr4.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr4.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr5a.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr5b.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr5c.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr6.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr6.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr6.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr7.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr7.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr7.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr8.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr8.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr8.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr9.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr9.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr9.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr10.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr10.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr10.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr11a.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr11b.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr11c.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr12.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr12.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr12.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr13.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr13.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr13.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr14.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr14.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr14.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr1.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr1.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr1.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr15.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr15.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr15.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr155a.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr155b.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr155c.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr70.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr70.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr70.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr90.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr90.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr90.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr100.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr100.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr100.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr156a.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr156b.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr156c.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr157a.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr157b.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr157c.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr158a.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr158b.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr158c.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr159a.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr159b.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr159c.yaml --seed 44 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr160a.yaml --seed 42 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr160b.yaml --seed 43 --dataset_path dataset16062024/
python3 -m gan_compare.scripts.train_test_classifier --config_path gan_compare/configs/swin/dbr160c.yaml --seed 44 --dataset_path dataset16062024/
echo "5. Finished ${0%/*} script!!!"