estellea commited on
Commit
76d5aa4
1 Parent(s): d58902d

Update vae/config.json

Browse files
Files changed (1) hide show
  1. vae/config.json +18 -25
vae/config.json CHANGED
@@ -1,36 +1,29 @@
1
  {
2
- "_class_name": "UNet2DConditionModel",
3
  "_diffusers_version": "0.2.2",
4
  "act_fn": "silu",
5
- "attention_head_dim": 8,
6
  "block_out_channels": [
7
- 320,
8
- 640,
9
- 1280,
10
- 1280
11
  ],
12
- "center_input_sample": false,
13
- "cross_attention_dim": 768,
14
  "down_block_types": [
15
- "CrossAttnDownBlock2D",
16
- "CrossAttnDownBlock2D",
17
- "CrossAttnDownBlock2D",
18
- "DownBlock2D"
19
  ],
20
- "downsample_padding": 1,
21
- "flip_sin_to_cos": true,
22
- "freq_shift": 0,
23
- "in_channels": 4,
24
  "layers_per_block": 2,
25
- "mid_block_scale_factor": 1,
26
- "norm_eps": 1e-05,
27
- "norm_num_groups": 32,
28
- "out_channels": 4,
29
- "sample_size": 64,
30
  "up_block_types": [
31
- "UpBlock2D",
32
- "CrossAttnUpBlock2D",
33
- "CrossAttnUpBlock2D",
34
- "CrossAttnUpBlock2D"
35
  ]
36
  }
 
1
  {
2
+ "_class_name": "AutoencoderKL",
3
  "_diffusers_version": "0.2.2",
4
  "act_fn": "silu",
 
5
  "block_out_channels": [
6
+ 128,
7
+ 256,
8
+ 512,
9
+ 512
10
  ],
 
 
11
  "down_block_types": [
12
+ "DownEncoderBlock2D",
13
+ "DownEncoderBlock2D",
14
+ "DownEncoderBlock2D",
15
+ "DownEncoderBlock2D"
16
  ],
17
+ "in_channels": 6,
18
+ "latent_channels": 4,
 
 
19
  "layers_per_block": 2,
20
+ "out_channels": 6,
21
+ "sample_size": 256,
22
+ "scaling_factor": 0.18215,
 
 
23
  "up_block_types": [
24
+ "UpDecoderBlock2D",
25
+ "UpDecoderBlock2D",
26
+ "UpDecoderBlock2D",
27
+ "UpDecoderBlock2D"
28
  ]
29
  }