add config
Browse files- vae/config.yaml +24 -0
vae/config.yaml
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
model:
|
2 |
+
base_learning_rate: 1.5e-7
|
3 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
4 |
+
params:
|
5 |
+
monitor: "val/rec_loss"
|
6 |
+
embed_dim: 4
|
7 |
+
lossconfig:
|
8 |
+
target: ldm.modules.losses.LPIPSWithDiscriminator
|
9 |
+
params:
|
10 |
+
disc_start: 50001
|
11 |
+
kl_weight: 0.000001
|
12 |
+
disc_weight: 0.5
|
13 |
+
|
14 |
+
ddconfig:
|
15 |
+
double_z: True
|
16 |
+
z_channels: 4
|
17 |
+
resolution: 256
|
18 |
+
in_channels: 3
|
19 |
+
out_ch: 3
|
20 |
+
ch: 128
|
21 |
+
ch_mult: [ 1,2,4,4 ] # num_down = len(ch_mult)-1
|
22 |
+
num_res_blocks: 2
|
23 |
+
attn_resolutions: [ ]
|
24 |
+
dropout: 0.0
|