Skip to content

Commit

Permalink
Update Prompt-to-prompt.md
Browse files Browse the repository at this point in the history
  • Loading branch information
garg-aayush authored Sep 13, 2023
1 parent 25844d7 commit 4806c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Summaries/Diffusion/Prompt-to-prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

- **"Pixels are more attracted to the words that describe them"**

- Since the attention reflects the overall composition, one can inject the attention maps $\mathcal{M}$ that were obtained from the generation with the original prompt $\mathcal{P}$, into a second generation with the modified prompt $\mathcal{P^*}$. This allows the synthesis of an edited image $\mathcal{I^*}$ that is not only manipulated according to the edited prompt, but also preserves the structure of the input image $\mathcal{I}$.
- Since the attention reflects the overall composition, one can inject the attention maps $\mathcal{M}$ that were obtained from the generation with the original prompt $\mathcal{P}$, into a second generation with the modified prompt $\mathcal{P^\*}$. This allows the synthesis of an edited image $\mathcal{{I}^\*}$ that is not only manipulated according to the edited prompt, but also preserves the structure of the input image $\mathcal{I}$.


- A generic algorithm is given as follows:
Expand Down

0 comments on commit 4806c4f

Please sign in to comment.