-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add InstantID Pipeline #6673
Add InstantID Pipeline #6673
Conversation
Thank you so much! Could you maybe also add a usage example in the README so that people can use it to the max? |
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
Sure, will do |
Done. @sayakpaul |
examples/community/README.md
Outdated
pipe.load_ip_adapter_instantid(face_adapter) | ||
|
||
# load an image | ||
image = load_image("./examples/yann-lecun_resize.jpg") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use a URL here?
face_adapter = f'./checkpoints/ip-adapter.bin' | ||
controlnet_path = f'./checkpoints/ControlNetModel' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same for this too. We don't know where it's coming from.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent! Left some more nits.
Once addressed, will merge!
Added. For now, InstantID cannot be loaded via |
Works. Could you ensure the code quality at least passes? |
Quality check passed. |
Congratulations, @haofanwang! Great job! |
* add instantid pipeline * format * Update README.md * Update README.md * format --------- Co-authored-by: ResearcherXman <xhs.research@gmail.com> Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
What does this PR do?
This PR adds a community pipeline for our recent InstantID work. The original InstantID pipeline is from here, but we add some dependent functions inside the pipeline. We made minimal addition on the top of existing StableDiffusionXLControlNetPipeline.