You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues and checked the recent builds/commits of both this extension and the webui
What happened?
As the title says, when I upload independent control image in the img2img mode, there is no checkbox for "Crop input image based on A1111 mask".
By default, all uploaded images would be cropped, but this will result in this: IPAdapter with face_id_plus fails with Exception: Insightface: No face found in image.
So I need this checkbox to disable "Crop input image based on A1111 mask", so that the face in the uploaded image will not be cropped out.
Steps to reproduce the problem
In img2img, use Face ADetailer's ControlNet passthrough feature to deploy the control net.
In control net, use IPAdapter with face_id_plus and upload a face reference image.
Runs into error, Exception: Insightface: No face found in image.
What should have happened?
There should be an option to not crop the input image, just like there is one in the inpaint mode.
2024-12-05 21:25:21,028 - ControlNet - INFO - unit_separate = False, style_align = False
2024-12-05 21:25:21,028 - ControlNet - INFO - Loading model from cache: ip-adapter-faceid-plusv2_sd15 [6e14fc1a]
2024-12-05 21:25:21,452 - ControlNet - INFO - Using preprocessor: ip-adapter_face_id_plus
2024-12-05 21:25:21,452 - ControlNet - INFO - preprocessor resolution = 512
*** Error running process: D:\dev\jkyndir\AI\AI_Images\Stable_Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py
Traceback (most recent call last):
File "D:\dev\jkyndir\AI\AI_Images\Stable_Diffusion\stable-diffusion-webui\modules\scripts.py", line 832, in process
script.process(p, *script_args)
File "D:\dev\jkyndir\AI\AI_Images\Stable_Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 1228, in process
self.controlnet_hack(p)
File "D:\dev\jkyndir\AI\AI_Images\Stable_Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 1213, in controlnet_hack
self.controlnet_main_entry(p)
File "D:\dev\jkyndir\AI\AI_Images\Stable_Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 941, in controlnet_main_entry
controls, hr_controls, additional_maps = get_control(
File "D:\dev\jkyndir\AI\AI_Images\Stable_Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 290, in get_control
controls, hr_controls = list(zip(*[preprocess_input_image(img) forimgin optional_tqdm(input_images)]))
File "D:\dev\jkyndir\AI\AI_Images\Stable_Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 290, in<listcomp>
controls, hr_controls = list(zip(*[preprocess_input_image(img) forimgin optional_tqdm(input_images)]))
File "D:\dev\jkyndir\AI\AI_Images\Stable_Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 242, in preprocess_input_image
result = preprocessor.cached_call(
File "D:\dev\jkyndir\AI\AI_Images\Stable_Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\supported_preprocessor.py", line 198, in cached_call
result = self._cached_call(input_image, *args, **kwargs)
File "D:\dev\jkyndir\AI\AI_Images\Stable_Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\utils.py", line 82, in decorated_func
return cached_func(*args, **kwargs)
File "D:\dev\jkyndir\AI\AI_Images\Stable_Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\utils.py", line 66, in cached_func
return func(*args, **kwargs)
File "D:\dev\jkyndir\AI\AI_Images\Stable_Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\supported_preprocessor.py", line 211, in _cached_call
return self(*args, **kwargs)
File "D:\dev\jkyndir\AI\AI_Images\Stable_Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\preprocessor\legacy\legacy_preprocessors.py", line 105, in __call__
result, is_image = self.call_function(
File "D:\dev\jkyndir\AI\AI_Images\Stable_Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\preprocessor\legacy\processor.py", line 768, in face_id_plus
face_embed, _ = g_insight_face_model.run_model(img)
File "D:\dev\jkyndir\AI\AI_Images\Stable_Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\preprocessor\legacy\processor.py", line 699, in run_model
face = InsightFaceModel.pick_largest_face(faces)
File "D:\dev\jkyndir\AI\AI_Images\Stable_Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\preprocessor\legacy\processor.py", line 656, in pick_largest_face
raise Exception("Insightface: No face found in image.")
Exception: Insightface: No face found in image.
Additional information
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
What happened?
As the title says, when I upload independent control image in the img2img mode, there is no checkbox for "Crop input image based on A1111 mask".
By default, all uploaded images would be cropped, but this will result in this: IPAdapter with face_id_plus fails with Exception: Insightface: No face found in image.
So I need this checkbox to disable "Crop input image based on A1111 mask", so that the face in the uploaded image will not be cropped out.
Steps to reproduce the problem
What should have happened?
There should be an option to not crop the input image, just like there is one in the inpaint mode.
Commit where the problem happens
webui: 82a973c
controlnet: 56cec5b
What browsers do you use to access the UI ?
No response
Command Line Arguments
List of enabled extensions
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: