aufa.husen
commited on
Commit
•
fa4b84d
1
Parent(s):
f5d32d0
update configs
Browse files- feature_extractor/preprocessor_config.json +1 -1
- model_index.json +1 -1
- scheduler/scheduler_config.json +15 -4
- unet/config.json +0 -3
- vae/config.json +1 -2
feature_extractor/preprocessor_config.json
CHANGED
@@ -25,4 +25,4 @@
|
|
25 |
"size": {
|
26 |
"shortest_edge": 224
|
27 |
}
|
28 |
-
}
|
|
|
25 |
"size": {
|
26 |
"shortest_edge": 224
|
27 |
}
|
28 |
+
}
|
model_index.json
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
],
|
13 |
"scheduler": [
|
14 |
"diffusers",
|
15 |
-
"
|
16 |
],
|
17 |
"text_encoder": [
|
18 |
"transformers",
|
|
|
12 |
],
|
13 |
"scheduler": [
|
14 |
"diffusers",
|
15 |
+
"DPMSolverMultistepScheduler"
|
16 |
],
|
17 |
"text_encoder": [
|
18 |
"transformers",
|
scheduler/scheduler_config.json
CHANGED
@@ -1,15 +1,26 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
"_diffusers_version": "0.19.0",
|
|
|
4 |
"beta_end": 0.012,
|
5 |
"beta_schedule": "scaled_linear",
|
6 |
"beta_start": 0.00085,
|
7 |
"clip_sample": false,
|
|
|
|
|
|
|
|
|
8 |
"num_train_timesteps": 1000,
|
9 |
"prediction_type": "epsilon",
|
|
|
|
|
10 |
"set_alpha_to_one": false,
|
11 |
-
"
|
|
|
12 |
"steps_offset": 1,
|
|
|
13 |
"timestep_spacing": "leading",
|
14 |
-
"trained_betas": null
|
15 |
-
|
|
|
|
|
|
1 |
{
|
2 |
+
"_class_name": "DPMSolverMultistepScheduler",
|
3 |
"_diffusers_version": "0.19.0",
|
4 |
+
"algorithm_type": "dpmsolver++",
|
5 |
"beta_end": 0.012,
|
6 |
"beta_schedule": "scaled_linear",
|
7 |
"beta_start": 0.00085,
|
8 |
"clip_sample": false,
|
9 |
+
"clip_sample_range": 1.0,
|
10 |
+
"dynamic_thresholding_ratio": 0.995,
|
11 |
+
"lambda_min_clipped": -Infinity,
|
12 |
+
"lower_order_final": true,
|
13 |
"num_train_timesteps": 1000,
|
14 |
"prediction_type": "epsilon",
|
15 |
+
"rescale_betas_zero_snr": false,
|
16 |
+
"sample_max_value": 1.0,
|
17 |
"set_alpha_to_one": false,
|
18 |
+
"solver_order": 2,
|
19 |
+
"solver_type": "midpoint",
|
20 |
"steps_offset": 1,
|
21 |
+
"thresholding": false,
|
22 |
"timestep_spacing": "leading",
|
23 |
+
"trained_betas": null,
|
24 |
+
"use_karras_sigmas": false,
|
25 |
+
"variance_type": null
|
26 |
+
}
|
unet/config.json
CHANGED
@@ -4,7 +4,6 @@
|
|
4 |
"act_fn": "silu",
|
5 |
"addition_embed_type": null,
|
6 |
"addition_embed_type_num_heads": 64,
|
7 |
-
"addition_time_embed_dim": null,
|
8 |
"attention_head_dim": 8,
|
9 |
"block_out_channels": [
|
10 |
320,
|
@@ -38,7 +37,6 @@
|
|
38 |
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
39 |
"norm_eps": 1e-05,
|
40 |
"norm_num_groups": 32,
|
41 |
-
"num_attention_heads": null,
|
42 |
"num_class_embeds": null,
|
43 |
"only_cross_attention": false,
|
44 |
"out_channels": 4,
|
@@ -52,7 +50,6 @@
|
|
52 |
"time_embedding_dim": null,
|
53 |
"time_embedding_type": "positional",
|
54 |
"timestep_post_act": null,
|
55 |
-
"transformer_layers_per_block": 1,
|
56 |
"up_block_types": [
|
57 |
"UpBlock2D",
|
58 |
"CrossAttnUpBlock2D",
|
|
|
4 |
"act_fn": "silu",
|
5 |
"addition_embed_type": null,
|
6 |
"addition_embed_type_num_heads": 64,
|
|
|
7 |
"attention_head_dim": 8,
|
8 |
"block_out_channels": [
|
9 |
320,
|
|
|
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,
|
|
|
50 |
"time_embedding_dim": null,
|
51 |
"time_embedding_type": "positional",
|
52 |
"timestep_post_act": null,
|
|
|
53 |
"up_block_types": [
|
54 |
"UpBlock2D",
|
55 |
"CrossAttnUpBlock2D",
|
vae/config.json
CHANGED
@@ -14,7 +14,6 @@
|
|
14 |
"DownEncoderBlock2D",
|
15 |
"DownEncoderBlock2D"
|
16 |
],
|
17 |
-
"force_upcast": true,
|
18 |
"in_channels": 3,
|
19 |
"latent_channels": 4,
|
20 |
"layers_per_block": 2,
|
@@ -28,4 +27,4 @@
|
|
28 |
"UpDecoderBlock2D",
|
29 |
"UpDecoderBlock2D"
|
30 |
]
|
31 |
-
}
|
|
|
14 |
"DownEncoderBlock2D",
|
15 |
"DownEncoderBlock2D"
|
16 |
],
|
|
|
17 |
"in_channels": 3,
|
18 |
"latent_channels": 4,
|
19 |
"layers_per_block": 2,
|
|
|
27 |
"UpDecoderBlock2D",
|
28 |
"UpDecoderBlock2D"
|
29 |
]
|
30 |
+
}
|