-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrun.sh
executable file
·161 lines (139 loc) · 6.16 KB
/
run.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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
# python -u calc_metrics.py \
# --metrics=mixermlp_fid50k_full \
# --data ../ffhq256x256.zip \
# --eval_bs=500 \
# --layers=blocks.0,blocks.1,blocks.2,blocks.3,blocks.4,blocks.5,blocks.6,blocks.7,blocks.8,blocks.9,blocks.10,blocks.11 \
# --mirror=1 \
# --cache=0 \
# --cfg=stylegan2 \
# --random=0 \
# --feature_save_flag=0 \
# --max_real=50000 \
# --num_gen=49999 \
# --save_name=ffhq_50K_vs_ffhq_49K_randomset \
# --save_stats ./statsmixer \
# --generate ../random_49K_ffhq.zip \
# --save_res ./results \
# python -u grad_cam.py \
# --detectors=mixer_b16_224 \
# --stats_path ./statsmixer \
# --html_name=mixermlp \
# --generate_image_path ../ffhq_cam \
# --outdir ./grad_cam \
# python -u calc_metrics.py \
# --metrics=gmlp_fid50k_full \
# --data ../ffhq256x256.zip \
# --eval_bs=500 \
# --layers=blocks.0,blocks.1,blocks.2,blocks.3,blocks.4,blocks.5,blocks.6,blocks.7,blocks.8,blocks.9,blocks.10,blocks.11,blocks.12,blocks.13,blocks.14,blocks.15,blocks.16,blocks.17,blocks.18,blocks.19,blocks.20,blocks.21,blocks.22,blocks.23,blocks.24,blocks.25,blocks.26,blocks.27,blocks.28,blocks.29 \
# --mirror=1 \
# --cache=0 \
# --cfg=stylegan2 \
# --random=0 \
# --feature_save_flag=0 \
# --max_real=50000 \
# --num_gen=49999 \
# --save_name=ffhq_50K_vs_ffhq_49K_randomset \
# --save_stats ./statsgmlp \
# --generate ../random_49K_ffhq.zip \
# --save_res ./results \
# python -u grad_cam.py \
# --detectors=gmlp_s16_224 \
# --stats_path ./statsgmlp \
# --html_name=gmlp_s16_224 \
# --generate_image_path ../ffhq_cam \
# --outdir ./grad_cam \
# sendemail -f mpyang_ecust@163.com -t mpyang_ecust@163.com -s smtp.163.com -u "fwy Code Finished!" -o message-content-type=html -o message-charset=utf-8 -xu mpyang_ecust -xp WECCVEFLPVBMVCFK -m "Your code has finished, My Honor to serve you, Sir."
# python -u calc_metrics.py \
# --metrics=mixermlp_cka50k_full \
# --data ../ffhq256x256.zip \
# --eval_bs=500 \
# --layers=blocks.0,blocks.1,blocks.2,blocks.3,blocks.4,blocks.5,blocks.6,blocks.7,blocks.8,blocks.9,blocks.10,blocks.11 \
# --mirror=1 \
# --cache=0 \
# --cfg=stylegan2 \
# --random=0 \
# --feature_save_flag=0 \
# --max_real=50000 \
# --num_gen=49999 \
# --save_name=ffhq_50K_vs_ffhq_49K_randomset \
# --save_stats ./statsmixer_cka \
# --generate ../random_49K_ffhq.zip \
# --save_res ./results \
# python -u grad_cam.py \
# --detectors=mixer_b16_224 \
# --stats_path ./statsmixer_cka \
# --html_name=mixermlp_cka \
# --generate_image_path ../ffhq_cam \
# --outdir ./grad_cam \
# --metrics cka \
# python -u calc_metrics.py \
# --metrics=gmlp_cka50k_full \
# --data ../ffhq256x256.zip \
# --eval_bs=500 \
# --layers=blocks.0,blocks.1,blocks.2,blocks.3,blocks.4,blocks.5,blocks.6,blocks.7,blocks.8,blocks.9,blocks.10,blocks.11,blocks.12,blocks.13,blocks.14,blocks.15,blocks.16,blocks.17,blocks.18,blocks.19,blocks.20,blocks.21,blocks.22,blocks.23,blocks.24,blocks.25,blocks.26,blocks.27,blocks.28,blocks.29 \
# --mirror=1 \
# --cache=0 \
# --cfg=stylegan2 \
# --random=0 \
# --feature_save_flag=0 \
# --max_real=50000 \
# --num_gen=49999 \
# --save_name=ffhq_50K_vs_ffhq_49K_randomset \
# --save_stats ./statsgmlp_cka \
# --generate ../random_49K_ffhq.zip \
# --save_res ./results \
# python -u grad_cam.py \
# --detectors=gmlp_s16_224 \
# --stats_path ./statsgmlp_cka \
# --html_name=gmlp_s16_224_cka \
# --generate_image_path ../ffhq_cam \
# --outdir ./grad_cam \
# --metrics cka \
# sendemail -f mpyang_ecust@163.com -t mpyang_ecust@163.com -s smtp.163.com -u "fwy Code Finished!" -o message-content-type=html -o message-charset=utf-8 -xu mpyang_ecust -xp WECCVEFLPVBMVCFK -m "Your code has finished, My Honor to serve you, Sir."
python -u calc_metrics.py \
--metrics=mixermlp_kid50k_full \
--data ../ffhq256x256.zip \
--eval_bs=500 \
--layers=blocks.0,blocks.1,blocks.2,blocks.3,blocks.4,blocks.5,blocks.6,blocks.7,blocks.8,blocks.9,blocks.10,blocks.11 \
--mirror=1 \
--cache=0 \
--cfg=stylegan2 \
--random=0 \
--feature_save_flag=0 \
--max_real=50000 \
--num_gen=49999 \
--save_name=ffhq_50K_vs_ffhq_49K_randomset \
--save_stats ./statsmixer_kid \
--generate ../random_49K_ffhq.zip \
--save_res ./results \
python -u grad_cam.py \
--detectors=mixer_b16_224 \
--stats_path ./statsmixer_kid \
--html_name=mixermlp_kid \
--generate_image_path ../ffhq_cam \
--outdir ./grad_cam \
--metrics kid \
python -u calc_metrics.py \
--metrics=gmlp_kid50k_full \
--data ../ffhq256x256.zip \
--eval_bs=500 \
--layers=blocks.0,blocks.1,blocks.2,blocks.3,blocks.4,blocks.5,blocks.6,blocks.7,blocks.8,blocks.9,blocks.10,blocks.11,blocks.12,blocks.13,blocks.14,blocks.15,blocks.16,blocks.17,blocks.18,blocks.19,blocks.20,blocks.21,blocks.22,blocks.23,blocks.24,blocks.25,blocks.26,blocks.27,blocks.28,blocks.29 \
--mirror=1 \
--cache=0 \
--cfg=stylegan2 \
--random=0 \
--feature_save_flag=0 \
--max_real=50000 \
--num_gen=49999 \
--save_name=ffhq_50K_vs_ffhq_49K_randomset \
--save_stats ./statsgmlp_kid \
--generate ../random_49K_ffhq.zip \
--save_res ./results \
python -u grad_cam.py \
--detectors=gmlp_s16_224 \
--stats_path ./statsgmlp_kid \
--html_name=gmlp_s16_224_kid \
--generate_image_path ../ffhq_cam \
--outdir ./grad_cam \
--metrics kid \
sendemail -f mpyang_ecust@163.com -t mpyang_ecust@163.com -s smtp.163.com -u "fwy Code Finished!" -o message-content-type=html -o message-charset=utf-8 -xu mpyang_ecust -xp WECCVEFLPVBMVCFK -m "Your code has finished, My Honor to serve you, Sir."