-
-
Notifications
You must be signed in to change notification settings - Fork 808
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
How to Use Multi-ID #81
Comments
We don't have a specific plan to release this part of codes by now, but we do encourage the community to implement and PR. |
Well. Since the answer to having multiple input images is suggested here and works:
It seems to also work for adding different pictures into the same calculation. Did some quick testing and it seems to be the way to go. Load the different pictures, either many from only one or multiple people and get a combined "face".
I made a function for that taking a folder of face images: So get 1 face_info object for each image. Add and divide. I myself have not quite read and understood the concepts, but seems to be some math vectors or such that defines what a face looks like. So pure math to add the definition of the faces. |
Is there a reason you are being vague about it? What do you gain by not releasing the code that you demonstrated in your paper? |
maybe its name is not OpenAID |
@zewolf5 can we use different weight to each image? |
In your original demo on hf you had it implemented. Why was it removed? |
It's possible with attention masking (this is done in comfyui) https://github.com/cubiq/ComfyUI_InstantID |
Can you please share the workflow you used to do this? |
@Enzzer the workflow is in the repository |
@cubiq Thanks for sharing the workflow! |
you probably just need to update the extension |
@cubiq I tried updating both ComfyUI and your extension but I'm still getting the same face twice. |
the latest version, with the provided workflow works very well. |
Yes confirmed, I used the reference pose image from the repository with two custom portrait photo's and results are now a lot better. Thanks for the update 👍 |
hey @toonverbeek can you share a workflow on how you combined pose with multi ID? How did you achieve this? |
I used essentially the default multi-id workflow included in this repository. I kept the pose reference image but replaced the two other inputs with my own images. That worked well enough for my usecase. |
Hello,
I recently came across the Multi-ID feature mentioned in the documentation, but I'm having trouble finding clear examples of how to use it. Specifically, I'm interested in combining images of different individuals, such as uploading two separate photos and generating a composite image.
For instance, I'd like to upload photos of two celebrities, Yang Mi and Taylor Swift, and create a merged image of them. However, I haven't found any examples in the code or on the Hugging Face platform that demonstrate how to achieve this.
Could you please provide some guidance or instructions on how to use the Multi-ID feature for this purpose? Any example code or detailed steps would be greatly appreciated.
Thank you for your assistance.
The text was updated successfully, but these errors were encountered: