abhinavreddy17
commited on
Commit
•
622f2de
1
Parent(s):
8b97da7
added consolidated config.json file
Browse files- config.json +103 -0
config.json
ADDED
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"unet": {
|
3 |
+
"_class_name": "UNet2DConditionModel",
|
4 |
+
"_diffusers_version": "0.19.0.dev0",
|
5 |
+
"act_fn": "silu",
|
6 |
+
"addition_embed_type": "text_time",
|
7 |
+
"addition_embed_type_num_heads": 64,
|
8 |
+
"addition_time_embed_dim": 256,
|
9 |
+
"attention_head_dim": [
|
10 |
+
5,
|
11 |
+
10,
|
12 |
+
20
|
13 |
+
],
|
14 |
+
"block_out_channels": [
|
15 |
+
320,
|
16 |
+
640,
|
17 |
+
1280
|
18 |
+
],
|
19 |
+
"center_input_sample": false,
|
20 |
+
"class_embed_type": null,
|
21 |
+
"class_embeddings_concat": false,
|
22 |
+
"conv_in_kernel": 3,
|
23 |
+
"conv_out_kernel": 3,
|
24 |
+
"cross_attention_dim": 2048,
|
25 |
+
"cross_attention_norm": null,
|
26 |
+
"down_block_types": [
|
27 |
+
"DownBlock2D",
|
28 |
+
"CrossAttnDownBlock2D",
|
29 |
+
"CrossAttnDownBlock2D"
|
30 |
+
],
|
31 |
+
"downsample_padding": 1,
|
32 |
+
"dual_cross_attention": false,
|
33 |
+
"encoder_hid_dim": null,
|
34 |
+
"encoder_hid_dim_type": null,
|
35 |
+
"flip_sin_to_cos": true,
|
36 |
+
"freq_shift": 0,
|
37 |
+
"in_channels": 4,
|
38 |
+
"layers_per_block": 2,
|
39 |
+
"mid_block_only_cross_attention": null,
|
40 |
+
"mid_block_scale_factor": 1,
|
41 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
42 |
+
"norm_eps": 1e-05,
|
43 |
+
"norm_num_groups": 32,
|
44 |
+
"num_attention_heads": null,
|
45 |
+
"num_class_embeds": null,
|
46 |
+
"only_cross_attention": false,
|
47 |
+
"out_channels": 4,
|
48 |
+
"projection_class_embeddings_input_dim": 2816,
|
49 |
+
"resnet_out_scale_factor": 1.0,
|
50 |
+
"resnet_skip_time_act": false,
|
51 |
+
"resnet_time_scale_shift": "default",
|
52 |
+
"sample_size": 128,
|
53 |
+
"time_cond_proj_dim": null,
|
54 |
+
"time_embedding_act_fn": null,
|
55 |
+
"time_embedding_dim": null,
|
56 |
+
"time_embedding_type": "positional",
|
57 |
+
"timestep_post_act": null,
|
58 |
+
"transformer_layers_per_block": [
|
59 |
+
1,
|
60 |
+
2,
|
61 |
+
10
|
62 |
+
],
|
63 |
+
"up_block_types": [
|
64 |
+
"CrossAttnUpBlock2D",
|
65 |
+
"CrossAttnUpBlock2D",
|
66 |
+
"UpBlock2D"
|
67 |
+
],
|
68 |
+
"upcast_attention": null,
|
69 |
+
"use_linear_projection": true
|
70 |
+
},
|
71 |
+
"vae": {
|
72 |
+
"_class_name": "AutoencoderKL",
|
73 |
+
"_diffusers_version": "0.20.0.dev0",
|
74 |
+
"_name_or_path": "../sdxl-vae/",
|
75 |
+
"act_fn": "silu",
|
76 |
+
"block_out_channels": [
|
77 |
+
128,
|
78 |
+
256,
|
79 |
+
512,
|
80 |
+
512
|
81 |
+
],
|
82 |
+
"down_block_types": [
|
83 |
+
"DownEncoderBlock2D",
|
84 |
+
"DownEncoderBlock2D",
|
85 |
+
"DownEncoderBlock2D",
|
86 |
+
"DownEncoderBlock2D"
|
87 |
+
],
|
88 |
+
"force_upcast": true,
|
89 |
+
"in_channels": 3,
|
90 |
+
"latent_channels": 4,
|
91 |
+
"layers_per_block": 2,
|
92 |
+
"norm_num_groups": 32,
|
93 |
+
"out_channels": 3,
|
94 |
+
"sample_size": 1024,
|
95 |
+
"scaling_factor": 0.13025,
|
96 |
+
"up_block_types": [
|
97 |
+
"UpDecoderBlock2D",
|
98 |
+
"UpDecoderBlock2D",
|
99 |
+
"UpDecoderBlock2D",
|
100 |
+
"UpDecoderBlock2D"
|
101 |
+
]
|
102 |
+
}
|
103 |
+
}
|