Upload PerturbedAttentionGuidance
Browse files
pag_guider/guider_config.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "PerturbedAttentionGuidance",
|
| 3 |
+
"_diffusers_version": "0.35.0.dev0",
|
| 4 |
+
"guidance_rescale": 0.0,
|
| 5 |
+
"guidance_scale": 5.0,
|
| 6 |
+
"perturbed_guidance_config": {
|
| 7 |
+
"dropout": 1.0,
|
| 8 |
+
"fqn": "mid_block.attentions.0.transformer_blocks",
|
| 9 |
+
"indices": [
|
| 10 |
+
2,
|
| 11 |
+
9
|
| 12 |
+
],
|
| 13 |
+
"skip_attention": false,
|
| 14 |
+
"skip_attention_scores": true,
|
| 15 |
+
"skip_ff": false
|
| 16 |
+
},
|
| 17 |
+
"perturbed_guidance_layers": null,
|
| 18 |
+
"perturbed_guidance_scale": 2.5,
|
| 19 |
+
"perturbed_guidance_start": 0.01,
|
| 20 |
+
"perturbed_guidance_stop": 0.2,
|
| 21 |
+
"skip_layer_config": [
|
| 22 |
+
{
|
| 23 |
+
"dropout": 1.0,
|
| 24 |
+
"fqn": "mid_block.attentions.0.transformer_blocks",
|
| 25 |
+
"indices": [
|
| 26 |
+
2,
|
| 27 |
+
9
|
| 28 |
+
],
|
| 29 |
+
"skip_attention": false,
|
| 30 |
+
"skip_attention_scores": true,
|
| 31 |
+
"skip_ff": false
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"skip_layer_guidance_layers": null,
|
| 35 |
+
"skip_layer_guidance_scale": 2.5,
|
| 36 |
+
"skip_layer_guidance_start": 0.01,
|
| 37 |
+
"skip_layer_guidance_stop": 0.2,
|
| 38 |
+
"start": 0.0,
|
| 39 |
+
"stop": 1.0,
|
| 40 |
+
"use_original_formulation": false
|
| 41 |
+
}
|