liho00 commited on
Commit
ea5ea62
·
verified ·
1 Parent(s): b89d041

Upload folder using huggingface_hub

Browse files
model_index.json CHANGED
@@ -37,6 +37,6 @@
37
  ],
38
  "vae": [
39
  "diffusers",
40
- "AutoencoderTiny"
41
  ]
42
  }
 
37
  ],
38
  "vae": [
39
  "diffusers",
40
+ "AutoencoderKL"
41
  ]
42
  }
vae/config.json CHANGED
@@ -1,45 +1,37 @@
1
  {
2
- "_class_name": "AutoencoderTiny",
3
  "_diffusers_version": "0.29.0",
4
  "_name_or_path": "model/vae",
5
- "act_fn": "relu",
6
  "block_out_channels": [
7
- 64,
8
- 64,
9
- 64,
10
- 64
11
  ],
12
- "decoder_block_out_channels": [
13
- 64,
14
- 64,
15
- 64,
16
- 64
17
  ],
18
- "encoder_block_out_channels": [
19
- 64,
20
- 64,
21
- 64,
22
- 64
23
- ],
24
- "force_upcast": false,
25
  "in_channels": 3,
26
  "latent_channels": 4,
27
- "latent_magnitude": 3,
28
- "latent_shift": 0.5,
29
- "num_decoder_blocks": [
30
- 3,
31
- 3,
32
- 3,
33
- 1
34
- ],
35
- "num_encoder_blocks": [
36
- 1,
37
- 3,
38
- 3,
39
- 3
40
- ],
41
  "out_channels": 3,
42
- "scaling_factor": 1.0,
43
- "upsample_fn": "nearest",
44
- "upsampling_scaling_factor": 2
 
 
 
 
 
 
 
 
45
  }
 
1
  {
2
+ "_class_name": "AutoencoderKL",
3
  "_diffusers_version": "0.29.0",
4
  "_name_or_path": "model/vae",
5
+ "act_fn": "silu",
6
  "block_out_channels": [
7
+ 128,
8
+ 256,
9
+ 512,
10
+ 512
11
  ],
12
+ "down_block_types": [
13
+ "DownEncoderBlock2D",
14
+ "DownEncoderBlock2D",
15
+ "DownEncoderBlock2D",
16
+ "DownEncoderBlock2D"
17
  ],
18
+ "force_upcast": true,
 
 
 
 
 
 
19
  "in_channels": 3,
20
  "latent_channels": 4,
21
+ "latents_mean": null,
22
+ "latents_std": null,
23
+ "layers_per_block": 2,
24
+ "norm_num_groups": 32,
 
 
 
 
 
 
 
 
 
 
25
  "out_channels": 3,
26
+ "sample_size": 1024,
27
+ "scaling_factor": 0.13025,
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
  }
vae/diffusion_pytorch_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9faeeb35616502214879897dd5db906f0e1144b2d20e198b97cd07c1d0d74c15
3
- size 4903134
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:915b909d0eeef5985462226b2c9950ca9da42b5a6ec8c296c2e73f6419ae465c
3
+ size 167335342