caophihung commited on
Commit
61cafbc
1 Parent(s): 15db160

Upload config.json

Browse files
Files changed (1) hide show
  1. vae/config.json +35 -24
vae/config.json CHANGED
@@ -1,24 +1,35 @@
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
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": {
3
+ "base_learning_rate": 1.5e-7,
4
+ "target": "ldm.models.autoencoder.AutoencoderKL",
5
+ "params": {
6
+ "monitor": "val/rec_loss",
7
+ "embed_dim": 4,
8
+ "lossconfig": {
9
+ "target": "ldm.modules.losses.LPIPSWithDiscriminator",
10
+ "params": {
11
+ "disc_start": 50001,
12
+ "kl_weight": 0.000001,
13
+ "disc_weight": 0.5
14
+ }
15
+ },
16
+ "ddconfig": {
17
+ "double_z": true,
18
+ "z_channels": 4,
19
+ "resolution": 256,
20
+ "in_channels": 3,
21
+ "out_ch": 3,
22
+ "ch": 128,
23
+ "ch_mult": [
24
+ 1,
25
+ 2,
26
+ 4,
27
+ 4
28
+ ],
29
+ "num_res_blocks": 2,
30
+ "attn_resolutions": [],
31
+ "dropout": 0
32
+ }
33
+ }
34
+ }
35
+ }