BiliSakura commited on
Commit
6ba86fb
·
verified ·
1 Parent(s): 1fe7151

Update all files for VAEs

Browse files
Files changed (1) hide show
  1. IBQ-VQVAE-16384/config.json +39 -0
IBQ-VQVAE-16384/config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "VQModel",
3
+ "_diffusers_version": "0.37.0.dev0",
4
+ "act_fn": "silu",
5
+ "block_out_channels": [
6
+ 128,
7
+ 128,
8
+ 256,
9
+ 256,
10
+ 512
11
+ ],
12
+ "down_block_types": [
13
+ "DownEncoderBlock2D",
14
+ "DownEncoderBlock2D",
15
+ "DownEncoderBlock2D",
16
+ "DownEncoderBlock2D",
17
+ "AttnDownEncoderBlock2D"
18
+ ],
19
+ "force_upcast": false,
20
+ "in_channels": 3,
21
+ "latent_channels": 256,
22
+ "layers_per_block": 4,
23
+ "lookup_from_codebook": true,
24
+ "mid_block_add_attention": true,
25
+ "norm_num_groups": 32,
26
+ "norm_type": "group",
27
+ "num_vq_embeddings": 16384,
28
+ "out_channels": 3,
29
+ "sample_size": 32,
30
+ "scaling_factor": 0.18215,
31
+ "up_block_types": [
32
+ "AttnUpDecoderBlock2D",
33
+ "UpDecoderBlock2D",
34
+ "UpDecoderBlock2D",
35
+ "UpDecoderBlock2D",
36
+ "UpDecoderBlock2D"
37
+ ],
38
+ "vq_embed_dim": 256
39
+ }