Stability-AI / stablediffusion

High-Resolution Image Synthesis with Latent Diffusion Models
MIT License
38.83k stars 5.01k forks source link

ControlNet - WARNING - No ControlNetUnit detected in args. It is very likely that you are having an extension conflict.Here are args passed to ControlNet: (<scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7F1D2C80>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7BD9A980>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7BD9BBB0>). #286

Open NiuDaVinci opened 1 year ago

NiuDaVinci commented 1 year ago

2023-06-23 13:04:26,147 - ControlNet - WARNING - No ControlNetUnit detected in args. It is very likely that you are having an extension conflict.Here are args passed to ControlNet: (<scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7F1D2C80>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7BD9A980>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7BD9BBB0>). 2023-06-23 13:04:26,152 - ControlNet - WARNING - No ControlNetUnit detected in args. It is very likely that you are having an extension conflict.Here are args passed to ControlNet: (<scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7F1D2C80>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7BD9A980>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7BD9BBB0>). 100%|██████████████████████████████████████████████████████████████████████████████████| 15/15 [00:05<00:00, 2.90it/s] Total progress: 100%|██████████████████████████████████████████████████████████████████| 15/15 [00:02<00:00, 5.83it/s] 2023-06-23 13:09:03,823 - ControlNet - WARNING - No ControlNetUnit detected in args. It is very likely that you are having an extension conflict.Here are args passed to ControlNet: (<scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7BD98C70>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7BD9BD00>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7BD99630>). 2023-06-23 13:09:03,824 - ControlNet - WARNING - No ControlNetUnit detected in args. It is very likely that you are having an extension conflict.Here are args passed to ControlNet: (<scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7BD98C70>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7BD9BD00>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7BD99630>).

crankdawg47 commented 1 year ago

Having the same issue. Full error below:

2023-06-23 14:29:27,115 - ControlNet - WARNING - No ControlNetUnit detected in args. It is very likely that you are having an extension conflict.Here are args passed to ControlNet: (<scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000002B8B1DBDA20>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000002B79D662230>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000002B8ADF8B430>). 2023-06-23 14:29:27,118 - ControlNet - WARNING - No ControlNetUnit detected in args. It is very likely that you are having an extension conflict.Here are args passed to ControlNet: (<scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000002B8B1DBDA20>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000002B79D662230>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000002B8ADF8B430>).

kazuninishiki commented 1 year ago

same. Was doing tiles with ultimate upscaler.

2023-06-23 15:06:55,255 - ControlNet - WARNING - No ControlNetUnit detected in args. It is very likely that you are having an extension conflict.Here are args passed to ControlNet: (<scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x0000019AC0D3B160>,). 2023-06-23 15:06:55,257 - ControlNet - WARNING - No ControlNetUnit detected in args. It is very likely that you are having an extension conflict.Here are args passed to ControlNet: (<scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x0000019AC0D3B160>,).

crankdawg47 commented 1 year ago

looks like it was an issue with the latest update. there's been a patch to the controlnet extension. updating it seems to have corrected error. Open pose isn't generating wireframe previews after img generation though. so not sure it's entirely fixed

kazuninishiki commented 1 year ago

Can confirm. An update fixed it.

hoodady commented 1 year ago

how did you update it, when i go to my available extension everything seems to be updated

alexmihaic commented 1 year ago

I have the same problem here and I have updated everything

syousip commented 1 year ago

I have same issue with slightly different output in CLI: error

I have disabled all Extensions (Ext&Int) then restarted UI to see if it help, no luck either.

enterv0id commented 1 year ago

Any fix for this?

Ainaemaet commented 1 year ago

Same problem here as @syousip

93041025 commented 1 year ago

same issue for img2img. no problem with txt2img. i am not using any controlnet with img2img but warning generated. any update? (updated) fixed. disabled all extensions except controlnet and adetailer. it works fine. probably, one of extensions is causing problem.

kitamo1981 commented 1 year ago

I got that same - try to turn off move2move extension if U use it or other extensions and try to find that one with conflict

anx22 commented 1 year ago

Same problem, cant solve ;(( I reinstalled VENV Folder and deinstalled my last installed extensions. Controlnet stopped working

fastjhone commented 1 year ago

I got that same - try to turn off move2move extension if U use it or other extensions and try to find that one witch conflict

its actually worked

Flickarus commented 1 year ago

I got that same - try to turn off move2move extension if U use it or other extensions and try to find that one witch conflict

its actually worked

That worked, thanks! but why has this conflict with mov2mov??

futurediffusion commented 1 year ago

I got that same - try to turn off move2move extension if U use it or other extensions and try to find that one witch conflict

yeah that works for me i hope mov2mov2 works again soon

kitamo1981 commented 1 year ago

I

I got that same - try to turn off move2move extension if U use it or other extensions and try to find that one witch conflict

its actually worked

That worked, thanks! but why has this conflict with mov2mov??

its strange but i think that it have something to do with new version of Controlnet. WIth older controlnet it works fine. I think we need to wait for new version of controlnet or mov2mov.

Whippetz commented 1 year ago

I turned off SD-CN-Animation ext and it fixed it.

Ho3einWave commented 1 year ago

I turned off SD-CN-Animation ext and it fixed it.

its worked for me thanks

thedoger82 commented 1 year ago

i turn off sd-dynamic-prompts and then it started working with no errors

aftermath0703 commented 1 year ago

I also got it working by disabling other plugins, but I don't think it's a wise thing to do because I had to disable 7 plugins to get it to work. However, in many cases many plugins are required to work together. In addition, after I rolled back the stable diffusion for several versions, it can also be used normally

plaeground commented 1 year ago

having the same issue even after disabling almost every extension

aftermath0703 commented 1 year ago

having the same issue even after disabling almost every extension

you can also try reinstall these plugins, it also works for me

JeanCrux commented 1 year ago

Same proble here but I have no extension and it says "Here are args received by ControlNet: ()"... I have no window to put my image in img2img too, don't know if it's the same problem.

Has anyone found a solution other than disabling extensions (I don't have any)?

rodfdez commented 1 year ago

Same problem, I disabled all the extensions, didn't work

ybekocak commented 1 year ago

Same here. On text2img and Img2img it's ok but on deforum, isn't working. Is there any solution?

profinger commented 1 year ago

Mine was doing this exact same thing but at some point (either during load or during run press maybe?) was throwing an error from the preset.py module.

Error calling: H:\wusd\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py/ui
Traceback (most recent call last):
  File "H:\wusd\stable-diffusion-webui\modules\scripts.py", line 243, in wrap_call
    res = func(*args, **kwargs)
  File "H:\wusd\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 283, in ui
    group, state = self.uigroup(f"ControlNet", is_img2img, elem_id_tabname)
  File "H:\wusd\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 258, in uigroup
    group.register_callbacks(is_img2img)
  File "H:\wusd\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet_ui\controlnet_ui_group.py", line 825, in register_callbacks
    self.preset_panel.register_callbacks(
  File "H:\wusd\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet_ui\preset.py", line 177, in register_callbacks
    ).then(
AttributeError: 'dict' object has no attribute 'then'

as I have no need for presets and they seemed to have been implemented poorly, I just went and removed any reference to the preset stuff. I can share what I did but it'll have to be later if someone is interested.

rchennau commented 1 year ago

@Whippetz thank you. I had the same problem. ControlNet - WARNING - No ControlNetUnit detected in args fails when the SD-CN-Animation extension enabled. (comment left for the internets to find)

APZmedia commented 1 year ago

I have the same problem.

night2021-2021 commented 1 year ago

Same problem, but the error message do not contain anything. No ControlNetUnit detected in args. It is very likely that you are having an extension conflict.Here are args received by ControlNet: ().

kino47 commented 1 year ago

In my case, the SD-CN-Animation extension https://github.com/volotat/SD-CN-Animation.git. It causes the conflict ( ControlNet - WARNING - No ControlNetUnit detected in args. It is very likely that you are having an extension conflict.Here are args received by ControlNet: ().)

fordcliff75 commented 11 months ago

Yes you need to disable it the extension could be there is a conflict I don't know maybe guys you can maybe see the issue about this SD-CN-Animation.git.

enochianborg commented 9 months ago

set COMMANDLINE_ARGS= --update-check --update-all-extensions

enochianborg commented 9 months ago

In my case, the SD-CN-Animation extension https://github.com/volotat/SD-CN-Animation.git. It causes the conflict ( ControlNet - WARNING - No ControlNetUnit detected in args. It is very likely that you are having an extension conflict.Here are args received by ControlNet: ().)

I confirm this occured with my issue the same. Unchecked SD-CN-Animation extension in extensions tab and APPLY / Restart. The error went away.

gittyoletime23 commented 8 months ago

Possibly same issue with SD-CN-Animation in Automatic1111. Causes ControlNet to be ignored or weird results.

dengjianyue commented 8 months ago

I turned off SD-CN-Animation ext and it fixed it.

Yes,it works!!! Many thanks god