-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] adding incontext-learning community pipeline #6419
Conversation
With this PR, in addition to updating the code base, I plan to share insights on what I learn along the way. I'll start by briefly discussing ControlNet and in-context learning (in-context learning uses same idea), hoping to both enhance my understanding and assist others looking into it. |
controlnet:Stable Diffusion occasionally struggles to generate images aligned with specific prompts. ControlNet addresses this by enhancing Stable Diffusion's capabilities. The fundamental concept of ControlNet is straightforward:
In-context learning :
So, that's where prompt-diff comes into picture. Input to the models : Both the paper are pretty neat read : incontext-learning and controlnet. |
Pipelines under In this case, there's a modified ControlNet module that needs to be considered. This is why it's better to have it under Also, I'd suggest maintaining a Google Doc if you want to share your findings with the community in a more elaborate manner (I appreciate your willingness to do so). This way, the PR thread stays clean and to the point. |
@sayakpaul Ahh, Got it. I'll change it accordingly. |
Hey @sayakpaul If you could please give me a idea about the flow that would help. |
For now, it should just be about getting the pre-trained model to work in |
Thanks man. |
Hey @sayakpaul I will resume this for sure..just wanted to update here. Had a cut in my right hand fingers so working on simple scripts for now. |
Sorry about that! No pressure. |
What does this PR do?
Introduces Prompt-diffusion as part of #6214
Paper : https://arxiv.org/pdf/2305.01115.pdf
Before submitting
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
@sayakpaul