hyoungwoncho commited on
Commit
07410ae
·
verified ·
1 Parent(s): 017c6d6

Delete README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -35
README.md DELETED
@@ -1,35 +0,0 @@
1
- ## Perturbed-Attention Guidance
2
-
3
- This repository is based on [Diffusers](https://huggingface.co/docs/diffusers/index). StableDiffusionPAGPipeline is a modification of StableDiffusionPipeline to support Perturbed-Attention Guidance (PAG).
4
-
5
- ## Quickstart
6
-
7
- Load StableDiffusionPAGPipeline as below:
8
-
9
- ```
10
- pipe = StableDiffusionPipeline.from_pretrained(
11
- "runwayml/stable-diffusion-v1-5",
12
- custom_pipeline="hyoungwoncho/sd_perturbed_attention_guidance",
13
- torch_dtype=torch.float16,
14
- safety_checker=None
15
- )
16
- ```
17
-
18
- Sampling:
19
-
20
- ```
21
- output_baseline = pipe(
22
- prompts,
23
- width=512,
24
- height=512,
25
- num_inference_steps=50,
26
- guidance_scale=0.0,
27
- pag_scale=4.5,
28
- pag_applied_layers_index=pag_applied_layers_index
29
- ).images
30
- ```
31
-
32
- Parameters:
33
-
34
- pag_scale : gudiance scale of PAG (ex: 4.5)
35
- pag_applied_layers_index = index of the layer to apply perturbation (ex: ['m0'])