Adding `diffusers` weights of this model (#4)
Browse files- Adding `diffusers` weights of this model (e009929479076680e2a5b6fa40d3299b04a2de47)
Co-authored-by: Brandon <[email protected]>
- model_index.json +2 -2
- safety_checker/config.json +2 -2
- scheduler/scheduler_config.json +7 -3
- text_encoder/config.json +1 -1
- unet/config.json +3 -2
- vae/config.json +2 -2
model_index.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionPipeline",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"feature_extractor": [
|
5 |
"transformers",
|
6 |
"CLIPFeatureExtractor"
|
@@ -12,7 +12,7 @@
|
|
12 |
],
|
13 |
"scheduler": [
|
14 |
"diffusers",
|
15 |
-
"
|
16 |
],
|
17 |
"text_encoder": [
|
18 |
"transformers",
|
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionPipeline",
|
3 |
+
"_diffusers_version": "0.18.0.dev0",
|
4 |
"feature_extractor": [
|
5 |
"transformers",
|
6 |
"CLIPFeatureExtractor"
|
|
|
12 |
],
|
13 |
"scheduler": [
|
14 |
"diffusers",
|
15 |
+
"EulerDiscreteScheduler"
|
16 |
],
|
17 |
"text_encoder": [
|
18 |
"transformers",
|
safety_checker/config.json
CHANGED
@@ -80,7 +80,7 @@
|
|
80 |
"top_p": 1.0,
|
81 |
"torch_dtype": null,
|
82 |
"torchscript": false,
|
83 |
-
"transformers_version": "4.
|
84 |
"typical_p": 1.0,
|
85 |
"use_bfloat16": false,
|
86 |
"vocab_size": 49408
|
@@ -161,7 +161,7 @@
|
|
161 |
"top_p": 1.0,
|
162 |
"torch_dtype": null,
|
163 |
"torchscript": false,
|
164 |
-
"transformers_version": "4.
|
165 |
"typical_p": 1.0,
|
166 |
"use_bfloat16": false
|
167 |
}
|
|
|
80 |
"top_p": 1.0,
|
81 |
"torch_dtype": null,
|
82 |
"torchscript": false,
|
83 |
+
"transformers_version": "4.30.2",
|
84 |
"typical_p": 1.0,
|
85 |
"use_bfloat16": false,
|
86 |
"vocab_size": 49408
|
|
|
161 |
"top_p": 1.0,
|
162 |
"torch_dtype": null,
|
163 |
"torchscript": false,
|
164 |
+
"transformers_version": "4.30.2",
|
165 |
"typical_p": 1.0,
|
166 |
"use_bfloat16": false
|
167 |
}
|
scheduler/scheduler_config.json
CHANGED
@@ -1,17 +1,21 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
-
"_diffusers_version": "0.
|
4 |
"beta_end": 0.012,
|
5 |
"beta_schedule": "scaled_linear",
|
6 |
"beta_start": 0.00085,
|
7 |
"clip_sample": false,
|
8 |
"clip_sample_range": 1.0,
|
9 |
"dynamic_thresholding_ratio": 0.995,
|
|
|
10 |
"num_train_timesteps": 1000,
|
11 |
"prediction_type": "epsilon",
|
|
|
12 |
"sample_max_value": 1.0,
|
13 |
"set_alpha_to_one": false,
|
14 |
"steps_offset": 1,
|
15 |
"thresholding": false,
|
16 |
-
"
|
|
|
|
|
17 |
}
|
|
|
1 |
{
|
2 |
+
"_class_name": "EulerDiscreteScheduler",
|
3 |
+
"_diffusers_version": "0.18.0.dev0",
|
4 |
"beta_end": 0.012,
|
5 |
"beta_schedule": "scaled_linear",
|
6 |
"beta_start": 0.00085,
|
7 |
"clip_sample": false,
|
8 |
"clip_sample_range": 1.0,
|
9 |
"dynamic_thresholding_ratio": 0.995,
|
10 |
+
"interpolation_type": "linear",
|
11 |
"num_train_timesteps": 1000,
|
12 |
"prediction_type": "epsilon",
|
13 |
+
"rescale_betas_zero_snr": false,
|
14 |
"sample_max_value": 1.0,
|
15 |
"set_alpha_to_one": false,
|
16 |
"steps_offset": 1,
|
17 |
"thresholding": false,
|
18 |
+
"timestep_spacing": "leading",
|
19 |
+
"trained_betas": null,
|
20 |
+
"use_karras_sigmas": false
|
21 |
}
|
text_encoder/config.json
CHANGED
@@ -20,6 +20,6 @@
|
|
20 |
"pad_token_id": 1,
|
21 |
"projection_dim": 768,
|
22 |
"torch_dtype": "float16",
|
23 |
-
"transformers_version": "4.
|
24 |
"vocab_size": 49408
|
25 |
}
|
|
|
20 |
"pad_token_id": 1,
|
21 |
"projection_dim": 768,
|
22 |
"torch_dtype": "float16",
|
23 |
+
"transformers_version": "4.30.2",
|
24 |
"vocab_size": 49408
|
25 |
}
|
unet/config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"act_fn": "silu",
|
5 |
"addition_embed_type": null,
|
6 |
"addition_embed_type_num_heads": 64,
|
@@ -37,6 +37,7 @@
|
|
37 |
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
38 |
"norm_eps": 1e-05,
|
39 |
"norm_num_groups": 32,
|
|
|
40 |
"num_class_embeds": null,
|
41 |
"only_cross_attention": false,
|
42 |
"out_channels": 4,
|
@@ -44,7 +45,7 @@
|
|
44 |
"resnet_out_scale_factor": 1.0,
|
45 |
"resnet_skip_time_act": false,
|
46 |
"resnet_time_scale_shift": "default",
|
47 |
-
"sample_size":
|
48 |
"time_cond_proj_dim": null,
|
49 |
"time_embedding_act_fn": null,
|
50 |
"time_embedding_dim": null,
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.18.0.dev0",
|
4 |
"act_fn": "silu",
|
5 |
"addition_embed_type": null,
|
6 |
"addition_embed_type_num_heads": 64,
|
|
|
37 |
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
38 |
"norm_eps": 1e-05,
|
39 |
"norm_num_groups": 32,
|
40 |
+
"num_attention_heads": null,
|
41 |
"num_class_embeds": null,
|
42 |
"only_cross_attention": false,
|
43 |
"out_channels": 4,
|
|
|
45 |
"resnet_out_scale_factor": 1.0,
|
46 |
"resnet_skip_time_act": false,
|
47 |
"resnet_time_scale_shift": "default",
|
48 |
+
"sample_size": 64,
|
49 |
"time_cond_proj_dim": null,
|
50 |
"time_embedding_act_fn": null,
|
51 |
"time_embedding_dim": null,
|
vae/config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"act_fn": "silu",
|
5 |
"block_out_channels": [
|
6 |
128,
|
@@ -19,7 +19,7 @@
|
|
19 |
"layers_per_block": 2,
|
20 |
"norm_num_groups": 32,
|
21 |
"out_channels": 3,
|
22 |
-
"sample_size":
|
23 |
"scaling_factor": 0.18215,
|
24 |
"up_block_types": [
|
25 |
"UpDecoderBlock2D",
|
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
+
"_diffusers_version": "0.18.0.dev0",
|
4 |
"act_fn": "silu",
|
5 |
"block_out_channels": [
|
6 |
128,
|
|
|
19 |
"layers_per_block": 2,
|
20 |
"norm_num_groups": 32,
|
21 |
"out_channels": 3,
|
22 |
+
"sample_size": 512,
|
23 |
"scaling_factor": 0.18215,
|
24 |
"up_block_types": [
|
25 |
"UpDecoderBlock2D",
|