kohya-ss / sd-webui-additional-networks

GNU Affero General Public License v3.0
1.78k stars 296 forks source link

Excuse me, when I updated today, the additional networks tab disappeared. #193

Open HakkaBats opened 1 year ago

HakkaBats commented 1 year ago

Z@ %}63CPN {XX9RBI 84C GVCLTVVA4N0R`EAAIR4(LNS %5QKYKD7H2D5WX(DB3 888Y Z6J3$HP653X}ADS1_$8 W`A And the Network module changed from 5 to 1.

HakkaBats commented 1 year ago

H`2$B$R@9`3SK%VT5Q5QB{O

kohya-ss commented 1 year ago

The tabs seem to be displayed in my env. Can you share the error message in the console?

elviola9029 commented 1 year ago

Same problem using Google colab today.

hanajisensei commented 1 year ago

Here's an error I encountered when using it via Google Colab: Error Additional Networks

AtidC commented 1 year ago

Error message while install

Error calling: /content/stable-diffusion-webui/extensions/sd-webui-additional-networks/scripts/additional_networks.py/ui
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/scripts.py", line 243, in wrap_call
    res = func(*args, **kwargs)
  File "/content/stable-diffusion-webui/extensions/sd-webui-additional-networks/scripts/additional_networks.py", line 104, in ui
    weight.release(lambda w: (w, w), inputs=[weight], outputs=[weight_unet, weight_tenc])
AttributeError: 'Slider' object has no attribute 'release'
Dokumento1313 commented 1 year ago

Hi! Nice to meet you. I've been trying to use your extension for several days, I had used it before and it worked wonderfully, but in the past days I get this error and now it's impossible to load the LoRA that I want to use.

Error calling: /content/sd-webui/extensions/sd-webui-additional-networks/scripts/additional_networks.py/ui
Traceback (most recent call last):
  File "/content/sd-webui/modules/scripts.py", line 243, in wrap_call
    res = func(*args, **kwargs)
  File "/content/sd-webui/extensions/sd-webui-additional-networks/scripts/additional_networks.py", line 104, in ui
    weight.release(lambda w: (w, w), inputs=[weight], outputs=[weight_unet, weight_tenc])
AttributeError: 'Slider' object has no attribute 'release'

Create LRU cache (max_size=16) for preprocessor results.
Error calling: /content/sd-webui/extensions/sd-webui-additional-networks/scripts/additional_networks.py/ui
Traceback (most recent call last):
  File "/content/sd-webui/modules/scripts.py", line 243, in wrap_call
    res = func(*args, **kwargs)
  File "/content/sd-webui/extensions/sd-webui-additional-networks/scripts/additional_networks.py", line 104, in ui
    weight.release(lambda w: (w, w), inputs=[weight], outputs=[weight_unet, weight_tenc])
AttributeError: 'Slider' object has no attribute 'release'

Error executing callback ui_tabs_callback for /content/sd-webui/extensions/sd-webui-additional-networks/scripts/additional_networks.py
Traceback (most recent call last):
  File "/content/sd-webui/modules/script_callbacks.py", line 119, in ui_tabs_callback
    res += c.callback() or []
  File "/content/sd-webui/extensions/sd-webui-additional-networks/scripts/additional_networks.py", line 290, in on_ui_tabs
    metadata_editor.setup_ui(addnet_paste_params)
  File "/content/sd-webui/extensions/sd-webui-additional-networks/scripts/metadata_editor.py", line 462, in setup_ui
    outputs=[addnet_paste_params[tabname][i]["module"], addnet_paste_params[tabname][i]["model"]],
IndexError: list index out of range
leachyleach commented 1 year ago

Pretty much the same problem as everyone else. Lora tabs are missing, not working, and can't be refreshed. In addition, dragging loras to SD's lora models folder and manually entering them doesn't make them work either post-update today:

Error calling: C:\ai\stable-diffusion-1_5\stable-diffusion-webui\extensions\sd-webui-additional-networks\scripts\additional_networks.py/ui
Traceback (most recent call last):
  File "C:\ai\stable-diffusion-1_5\stable-diffusion-webui\modules\scripts.py", line 262, in wrap_call
    res = func(*args, **kwargs)
  File "C:\ai\stable-diffusion-1_5\stable-diffusion-webui\extensions\sd-webui-additional-networks\scripts\additional_networks.py", line 104, in ui
    weight.release(lambda w: (w, w), inputs=[weight], outputs=[weight_unet, weight_tenc])
AttributeError: 'Slider' object has no attribute 'release'

Error executing callback ui_tabs_callback for C:\ai\stable-diffusion-1_5\stable-diffusion-webui\extensions\sd-webui-additional-networks\scripts\additional_networks.py
Traceback (most recent call last):
  File "C:\ai\stable-diffusion-1_5\stable-diffusion-webui\modules\script_callbacks.py", line 125, in ui_tabs_callback
    res += c.callback() or []
  File "C:\ai\stable-diffusion-1_5\stable-diffusion-webui\extensions\sd-webui-additional-networks\scripts\additional_networks.py", line 290, in on_ui_tabs
    metadata_editor.setup_ui(addnet_paste_params)
  File "C:\ai\stable-diffusion-1_5\stable-diffusion-webui\extensions\sd-webui-additional-networks\scripts\metadata_editor.py", line 462, in setup_ui
    outputs=[addnet_paste_params[tabname][i]["module"], addnet_paste_params[tabname][i]["model"]],
IndexError: list index out of range
MuscleEnjoyer commented 1 year ago

I am also experiencing the same issue. Just happened to me today.

Error running process_batch: D:\stable-diffusion\stable-diffusion-webui\extensions\sd-webui-additional-networks\scripts\additional_networks.py Traceback (most recent call last): File "D:\stable-diffusion\stable-diffusion-webui\modules\scripts.py", line 395, in process_batch script.process_batch(p, *script_args, **kwargs) File "D:\stable-diffusion\stable-diffusion-webui\extensions\sd-webui-additional-networks\scripts\additional_networks.py", line 190, in process_batch if not args[0]: IndexError: tuple index out of range

kohya-ss commented 1 year ago

The error seems to be caused by the lack of release event in Gradio's Slider. release event wes added in 3.20.0. The latest Web UI uses Gradio 3.29.0; upgrading Gradio or Web UI itself will solve this issue.

If there is any reason it cannot be updated, please let me know.

alexonenine79 commented 1 year ago

maybe you guys haven't update your SD try update it first open CMD x: cd x:\AI\stable-diffusion-webui\ git pull

live106 commented 1 year ago

same problems

JamesMarcum commented 1 year ago

I prefer SD 1.5, Do I need to upgrade to 2.x for this to work again?