vae/config.json
801 B · 38 lines · json Raw
1 {
2 "_class_name": "AutoencoderKL",
3 "_diffusers_version": "0.32.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 "force_upcast": true,
18 "in_channels": 3,
19 "latent_channels": 4,
20 "latents_mean": null,
21 "latents_std": null,
22 "layers_per_block": 2,
23 "mid_block_add_attention": true,
24 "norm_num_groups": 32,
25 "out_channels": 3,
26 "sample_size": 512,
27 "scaling_factor": 0.18215,
28 "shift_factor": null,
29 "up_block_types": [
30 "UpDecoderBlock2D",
31 "UpDecoderBlock2D",
32 "UpDecoderBlock2D",
33 "UpDecoderBlock2D"
34 ],
35 "use_post_quant_conv": true,
36 "use_quant_conv": true
37 }
38