hyoungwoncho
commited on
Commit
•
bc0a907
1
Parent(s):
9085f30
Update README.md
Browse files
README.md
CHANGED
@@ -9,9 +9,9 @@ tags:
|
|
9 |
- PAG
|
10 |
---
|
11 |
|
12 |
-
|
13 |
|
14 |
-
|
15 |
|
16 |
This repository is based on [Diffusers](https://huggingface.co/docs/diffusers/index). StableDiffusionPAGPipeline is a modification of StableDiffusionPipeline to support Perturbed-Attention Guidance (PAG).
|
17 |
|
@@ -42,7 +42,8 @@ output_baseline = pipe(
|
|
42 |
).images
|
43 |
```
|
44 |
|
45 |
-
Parameters
|
46 |
|
47 |
pag_scale : gudiance scale of PAG (ex: 4.5)
|
48 |
-
|
|
|
|
9 |
- PAG
|
10 |
---
|
11 |
|
12 |
+
# Perturbed-Attention Guidance
|
13 |
|
14 |
+
![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/6601282b569b30694e67b886/27Lmuol8anwd6L6BLzyWf.jpeg)
|
15 |
|
16 |
This repository is based on [Diffusers](https://huggingface.co/docs/diffusers/index). StableDiffusionPAGPipeline is a modification of StableDiffusionPipeline to support Perturbed-Attention Guidance (PAG).
|
17 |
|
|
|
42 |
).images
|
43 |
```
|
44 |
|
45 |
+
## Parameters
|
46 |
|
47 |
pag_scale : gudiance scale of PAG (ex: 4.5)
|
48 |
+
|
49 |
+
pag_applied_layers_index = index of the layer to apply perturbation (ex: ['m0'])
|