Skip to content
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

[Bug]: ADetailer act like it is Disabled #651

Open
However1111 opened this issue Jun 30, 2024 · 1 comment
Open

[Bug]: ADetailer act like it is Disabled #651

However1111 opened this issue Jun 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@However1111
Copy link

Describe the bug

the ADetailer is Enabled, but it doesn't work !
as if I disabled it (no face detection or anything after the image generation)

Steps to reproduce

1- Open Stable Diffusion
2- type prompt
3- enable ADetailer
4- Generate the image

Screenshots

No response

Console logs, from start to end.

Already up to date.
venv "C:\Stable Diffusion\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.9.4
Commit hash: feee37d75f1b168768014e4634dcb156ee649c05
Installing sd-webui-controlnet requirement: changing opencv-python version from 4.10.0.84 to 4.8.0
You are up to date with the most recent release.
Launching Web UI with arguments: --api --autolaunch --update-check --theme dark --opt-channelslast --opt-sdp-attention
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu.
[-] ADetailer initialized. version: 24.6.0, num models: 10
ControlNet preprocessor location: C:\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads
2024-06-30 12:58:37,439 - ControlNet - INFO - ControlNet v1.1.449
C:\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\diffusers\models\transformers\transformer_2d.py:34: FutureWarning: `Transformer2DModelOutput` is deprecated and will be removed in version 1.0.0. Importing `Transformer2DModelOutput` from `diffusers.models.transformer_2d` is deprecated and this will be removed in a future version. Please use `from diffusers.models.modeling_outputs import Transformer2DModelOutput`, instead.
  deprecate("Transformer2DModelOutput", "1.0.0", deprecation_message)
Loading weights [f7f1d0498d] from C:\Stable Diffusion\stable-diffusion-webui\models\Stable-diffusion\0.7(dreamshaper_8) + 0.3(xxmix9realistic_v40).safetensors
Creating model from config: C:\Stable Diffusion\stable-diffusion-webui\configs\v1-inference.yaml
C:\Stable Diffusion\stable-diffusion-webui\extensions\CloneCleaner\scripts\clonecleaner.py:60: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  gender.style(container=False, item_container=False)
C:\Stable Diffusion\stable-diffusion-webui\extensions\CloneCleaner\scripts\clonecleaner.py:60: GradioDeprecationWarning: The `item_container` parameter is deprecated.
  gender.style(container=False, item_container=False)
C:\Stable Diffusion\stable-diffusion-webui\extensions\CloneCleaner\scripts\clonecleaner.py:72: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  declone_seed.style(container=False)
C:\Stable Diffusion\stable-diffusion-webui\extensions\CloneCleaner\scripts\clonecleaner.py:72: GradioDeprecationWarning: Unknown style parameter: container
  declone_seed.style(container=False)
2024-06-30 12:58:38,250 - ControlNet - INFO - ControlNet UI callback registered.
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
C:\Stable Diffusion\stable-diffusion-webui\extensions\CloneCleaner\scripts\clonecleaner.py:60: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  gender.style(container=False, item_container=False)
C:\Stable Diffusion\stable-diffusion-webui\extensions\CloneCleaner\scripts\clonecleaner.py:60: GradioDeprecationWarning: The `item_container` parameter is deprecated.
  gender.style(container=False, item_container=False)
C:\Stable Diffusion\stable-diffusion-webui\extensions\CloneCleaner\scripts\clonecleaner.py:72: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  declone_seed.style(container=False)
C:\Stable Diffusion\stable-diffusion-webui\extensions\CloneCleaner\scripts\clonecleaner.py:72: GradioDeprecationWarning: Unknown style parameter: container
  declone_seed.style(container=False)
Startup time: 12.4s (prepare environment: 4.9s, import torch: 2.2s, import gradio: 0.5s, setup paths: 0.6s, initialize shared: 0.1s, other imports: 0.4s, load scripts: 1.7s, create ui: 1.1s, gradio launch: 0.2s, add APIs: 0.5s).
Applying attention optimization: sdp... done.
Model loaded in 3.6s (create model: 0.5s, apply weights to model: 2.8s).
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:01<00:00, 16.69it/s]

List of installed extensions

CloneCleaner
Config-Presets
OneButtonPrompt
T2I-Adapter
a1111-sd-webui-tagcomplete
adetailer
canvas-zoom
inpaint-anything
prompt_translator
sd-dynamic-prompts
sd-extension-system-info
sd-webui-controlnet
sd-webui-inpaint-anything
sd-webui-segment-anything
stable-diffusion-webui-images-browser

@However1111 However1111 added the bug Something isn't working label Jun 30, 2024
Copy link

dosubot bot commented Jun 30, 2024

Hello, @However1111! I'm here to assist you with any issues or questions you have. I can help you solve bugs and provide support while waiting for a human maintainer. Let me know how I can assist you!

The issue you're experiencing with ADetailer not functioning as expected, despite being enabled, might be due to the ADetailer model not being set. According to the documentation, if the ADetailer model is set to None, it will disable the detection functionality. Ensure that you have selected an appropriate ADetailer model to enable face detection and other features [1].

Additionally, verify that the necessary components and settings are correctly configured. The script !adetailer.py includes various functions and settings that need to be properly set up for the extension to work correctly. For instance, the get_ad_model function checks if the model is available, and the on_after_component function ensures that the correct UI components are linked [2].

Make sure to review and adjust the specific settings or parameters within the ADetailer extension to ensure it works correctly with your models or prompts. These parameters include ad_model, ad_prompt, ad_confidence, and others that allow for fine-tuning the behavior of the ADetailer extension [3].

To continue talking to Dosu, mention @dosu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant