tpremoli commited on
Commit
bb5604d
1 Parent(s): be93a56

init commit of untrained vae

Browse files
vae/config.json CHANGED
@@ -1,31 +1,32 @@
1
  {
2
- "_class_name": "VQModel",
3
  "_diffusers_version": "0.20.2",
4
- "_name_or_path": "CompVis/ldm-celebahq-256",
5
  "act_fn": "silu",
6
  "block_out_channels": [
7
  128,
8
  256,
 
9
  512
10
  ],
11
  "down_block_types": [
 
12
  "DownEncoderBlock2D",
13
  "DownEncoderBlock2D",
14
  "DownEncoderBlock2D"
15
  ],
 
16
  "in_channels": 3,
17
- "latent_channels": 3,
18
  "layers_per_block": 2,
19
  "norm_num_groups": 32,
20
- "norm_type": "group",
21
- "num_vq_embeddings": 8192,
22
  "out_channels": 3,
23
  "sample_size": 128,
24
  "scaling_factor": 0.18215,
25
  "up_block_types": [
 
26
  "UpDecoderBlock2D",
27
  "UpDecoderBlock2D",
28
  "UpDecoderBlock2D"
29
- ],
30
- "vq_embed_dim": null
31
  }
 
1
  {
2
+ "_class_name": "AutoencoderKL",
3
  "_diffusers_version": "0.20.2",
4
+ "_name_or_path": "bguisard/stable-diffusion-nano-2-1",
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
  "layers_per_block": 2,
22
  "norm_num_groups": 32,
 
 
23
  "out_channels": 3,
24
  "sample_size": 128,
25
  "scaling_factor": 0.18215,
26
  "up_block_types": [
27
+ "UpDecoderBlock2D",
28
  "UpDecoderBlock2D",
29
  "UpDecoderBlock2D",
30
  "UpDecoderBlock2D"
31
+ ]
 
32
  }
vae/diffusion_pytorch_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7e95e7e515c8748b15e28335ffbbaec2367efb42c7a7e101b6495f629cc67a4f
3
- size 110668188
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e4c08995484ee61270175e9e7a072b66a6e4eeb5f0c266667fe1f45b90daf9a
3
+ size 167335342