pressoholic
commited on
Commit
•
be0bf9b
1
Parent(s):
adf320d
Upload config.json with huggingface_hub
Browse files- config.json +90 -25
config.json
CHANGED
@@ -1,30 +1,77 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
"_commit_hash": null,
|
4 |
"_diffusers_version": "0.21.0.dev0",
|
5 |
-
"_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--stabilityai--stable-diffusion-2-1-base/snapshots/5ede9e4bf3e3fd1cb0ef2f7a3fff13ee514fdf06/
|
6 |
"_use_default_values": [
|
7 |
-
"
|
8 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
],
|
10 |
"act_fn": "silu",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
"block_out_channels": [
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
"down_block_types": [
|
18 |
-
"
|
19 |
-
"
|
20 |
-
"
|
21 |
-
"
|
22 |
],
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
|
|
|
|
|
|
|
|
26 |
"layers_per_block": 2,
|
27 |
-
"
|
|
|
|
|
|
|
28 |
"neuron": {
|
29 |
"auto_cast": null,
|
30 |
"auto_cast_type": null,
|
@@ -32,7 +79,9 @@
|
|
32 |
"compiler_version": "2.8.0.25+a3ad0f342",
|
33 |
"dynamic_batch_size": false,
|
34 |
"input_names": [
|
35 |
-
"
|
|
|
|
|
36 |
],
|
37 |
"output_names": [
|
38 |
"sample"
|
@@ -40,17 +89,33 @@
|
|
40 |
"static_batch_size": 1,
|
41 |
"static_height": 64,
|
42 |
"static_num_channels": 4,
|
|
|
43 |
"static_width": 64
|
44 |
},
|
|
|
45 |
"norm_num_groups": 32,
|
46 |
-
"
|
47 |
-
"
|
48 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
"transformers_version": null,
|
50 |
"up_block_types": [
|
51 |
-
"
|
52 |
-
"
|
53 |
-
"
|
54 |
-
"
|
55 |
-
]
|
|
|
|
|
56 |
}
|
|
|
1 |
{
|
2 |
+
"_class_name": "UNet2DConditionModel",
|
3 |
"_commit_hash": null,
|
4 |
"_diffusers_version": "0.21.0.dev0",
|
5 |
+
"_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--stabilityai--stable-diffusion-2-1-base/snapshots/5ede9e4bf3e3fd1cb0ef2f7a3fff13ee514fdf06/unet",
|
6 |
"_use_default_values": [
|
7 |
+
"conv_in_kernel",
|
8 |
+
"mid_block_type",
|
9 |
+
"projection_class_embeddings_input_dim",
|
10 |
+
"cross_attention_norm",
|
11 |
+
"addition_time_embed_dim",
|
12 |
+
"addition_embed_type_num_heads",
|
13 |
+
"class_embed_type",
|
14 |
+
"mid_block_only_cross_attention",
|
15 |
+
"encoder_hid_dim",
|
16 |
+
"resnet_out_scale_factor",
|
17 |
+
"time_cond_proj_dim",
|
18 |
+
"conv_out_kernel",
|
19 |
+
"attention_type",
|
20 |
+
"resnet_skip_time_act",
|
21 |
+
"transformer_layers_per_block",
|
22 |
+
"time_embedding_type",
|
23 |
+
"time_embedding_act_fn",
|
24 |
+
"addition_embed_type",
|
25 |
+
"encoder_hid_dim_type",
|
26 |
+
"class_embeddings_concat",
|
27 |
+
"upcast_attention",
|
28 |
+
"num_attention_heads",
|
29 |
+
"resnet_time_scale_shift",
|
30 |
+
"timestep_post_act",
|
31 |
+
"time_embedding_dim"
|
32 |
],
|
33 |
"act_fn": "silu",
|
34 |
+
"addition_embed_type": null,
|
35 |
+
"addition_embed_type_num_heads": 64,
|
36 |
+
"addition_time_embed_dim": null,
|
37 |
+
"attention_head_dim": [
|
38 |
+
5,
|
39 |
+
10,
|
40 |
+
20,
|
41 |
+
20
|
42 |
+
],
|
43 |
+
"attention_type": "default",
|
44 |
"block_out_channels": [
|
45 |
+
320,
|
46 |
+
640,
|
47 |
+
1280,
|
48 |
+
1280
|
49 |
],
|
50 |
+
"center_input_sample": false,
|
51 |
+
"class_embed_type": null,
|
52 |
+
"class_embeddings_concat": false,
|
53 |
+
"conv_in_kernel": 3,
|
54 |
+
"conv_out_kernel": 3,
|
55 |
+
"cross_attention_dim": 1024,
|
56 |
+
"cross_attention_norm": null,
|
57 |
"down_block_types": [
|
58 |
+
"CrossAttnDownBlock2D",
|
59 |
+
"CrossAttnDownBlock2D",
|
60 |
+
"CrossAttnDownBlock2D",
|
61 |
+
"DownBlock2D"
|
62 |
],
|
63 |
+
"downsample_padding": 1,
|
64 |
+
"dual_cross_attention": false,
|
65 |
+
"encoder_hid_dim": null,
|
66 |
+
"encoder_hid_dim_type": null,
|
67 |
+
"flip_sin_to_cos": true,
|
68 |
+
"freq_shift": 0,
|
69 |
+
"in_channels": 4,
|
70 |
"layers_per_block": 2,
|
71 |
+
"mid_block_only_cross_attention": null,
|
72 |
+
"mid_block_scale_factor": 1,
|
73 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
74 |
+
"model_type": "unet",
|
75 |
"neuron": {
|
76 |
"auto_cast": null,
|
77 |
"auto_cast_type": null,
|
|
|
79 |
"compiler_version": "2.8.0.25+a3ad0f342",
|
80 |
"dynamic_batch_size": false,
|
81 |
"input_names": [
|
82 |
+
"sample",
|
83 |
+
"timestep",
|
84 |
+
"encoder_hidden_states"
|
85 |
],
|
86 |
"output_names": [
|
87 |
"sample"
|
|
|
89 |
"static_batch_size": 1,
|
90 |
"static_height": 64,
|
91 |
"static_num_channels": 4,
|
92 |
+
"static_sequence_length": 77,
|
93 |
"static_width": 64
|
94 |
},
|
95 |
+
"norm_eps": 1e-05,
|
96 |
"norm_num_groups": 32,
|
97 |
+
"num_attention_heads": null,
|
98 |
+
"num_class_embeds": null,
|
99 |
+
"only_cross_attention": false,
|
100 |
+
"out_channels": 4,
|
101 |
+
"projection_class_embeddings_input_dim": null,
|
102 |
+
"resnet_out_scale_factor": 1.0,
|
103 |
+
"resnet_skip_time_act": false,
|
104 |
+
"resnet_time_scale_shift": "default",
|
105 |
+
"sample_size": 64,
|
106 |
+
"time_cond_proj_dim": null,
|
107 |
+
"time_embedding_act_fn": null,
|
108 |
+
"time_embedding_dim": null,
|
109 |
+
"time_embedding_type": "positional",
|
110 |
+
"timestep_post_act": null,
|
111 |
+
"transformer_layers_per_block": 1,
|
112 |
"transformers_version": null,
|
113 |
"up_block_types": [
|
114 |
+
"UpBlock2D",
|
115 |
+
"CrossAttnUpBlock2D",
|
116 |
+
"CrossAttnUpBlock2D",
|
117 |
+
"CrossAttnUpBlock2D"
|
118 |
+
],
|
119 |
+
"upcast_attention": false,
|
120 |
+
"use_linear_projection": true
|
121 |
}
|