Open ZeroCool22 opened 5 months ago
Image used in controlnet:
PD: I already tried the suggested solutions in other posts, still the same error.
Suspected culprit: #2744.
I cannot reproduce your issue. InstantID does correctly detects face in the image.
I cannot reproduce your issue. InstantID does correctly detects face in the image.
I use 1.5, NOT SDXL and with IP-Adapter, not Instant_ID
SD15 and SDXL uses same preprocessor. IPA and InstantID both uses insightface under the hood. IPA also works fine
Suspected culprit: #2744.
Can you tell me where i add that code line exatcly?
You can find file change here: https://github.com/Mikubill/sd-webui-controlnet/pull/2744/files
You just need to change 2 lines of code to revert that PR.
I think the PR is justified as main instant id repo also has the RGB to BGR convertion before passing the image to insightface here: https://github.com/InstantID/InstantID/blob/042a57c75a265db302eea4e402265d7a803dc93d/gradio_demo/app.py#L233
Thx, and this one?:
face_image_cv2 = convert_from_image_to_cv2(face_image)
You can find file change here: https://github.com/Mikubill/sd-webui-controlnet/pull/2744/files
You just need to change 2 lines of code to revert that PR.
I did it, but still get same error.
It's because i didn't add the other line yet?
(face_image_cv2 = convert_from_image_to_cv2(face_image))
Hmmmm, maybe checkout to https://github.com/Mikubill/sd-webui-controlnet/commit/eb451a007f7040288e865f96e9ee0842aa6ef91c and see if the issue is still there?
Hmmmm, maybe checkout to eb451a0 and see if the issue is still there?
Did all the changes, but same error.
Anyway, thx to take the time and try to help me.
Instant ID only works for SDXL right?
PD: If you want to see for yourself, we can use AnyDesk if you want sometime.
@huchenlei is there any way to skip or ignore an image if there's no face in it instead of throwing an error?
Is there an existing issue for this?
What happened?
When try to use it for Inpainting in img2img i get the follow error (it didn't happen before the last update):
Steps to reproduce the problem
What should have happened?
Detect the face.
Commit where the problem happens
webui: AUTOMATIC1111 version: v1.9.0 • python: 3.10.6 • torch: 2.1.2+cu121 • xformers: 0.0.23.post1 • gradio: 3.41.2
controlnet:
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
List of enabled extensions
Console logs