-
Notifications
You must be signed in to change notification settings - Fork 1
/
exp3.yaml
100 lines (88 loc) · 1.5 KB
/
exp3.yaml
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
---
exp: stainer_basic_cmp/exp3
seed: 42
loader:
norm_method: global_minmax
train_batch: 8
val_batch: 1
num_workers: 10
pin_memory: true
G:
name: basic
params:
full_size: 1024
input_channels: 3
output_channels: 3
init_channels: 32
levels: 4
encoder1_blocks: 3
style_type: mod
style_linear: true
style_blocks: 9
norm_type: batch
dropout: 0.2
output_lowres: true
attention: true
init:
init_type: normal
init_gain: 0.02
D:
name: multiscale
params:
input_channels: 3
init_channels: 32
num_layers: 3
norm_type: batch
num_depths: 2
init:
init_type: normal
init_gain: 0.02
C:
name: basic
params:
full_size: 1024
input_channels: 3
init_channels: 32
max_channels: 256
levels: 4
norm_type: batch
dropout: 0.2
init:
init_type: normal
init_gain: 0.02
loss:
cls:
mode: focal
weight: 5.0
rec:
mode: mae
weight: 10.0
sim:
mode: ssim
weight: 1.0
gan:
mode: lsgan
weight: 1.0
cmp:
mode: csim
weight: 1.0
optimizer:
name: AdamW
params:
lr: 0.001
betas: [0.5, 0.9]
weight_decay: 0.05
scheduler:
min_lr: 0.0
warmup: 50
trainer:
epochs: 150
accum_iter: 1
diffaug: false
ema: true
low_weight: 1.0
apply_cmp: true
start_cmp: 50
ckpt_freq: 1000
print_freq: 100
...