AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
135.67k stars 25.9k forks source link

[Bug]: Image2image not working #10048

Open lonestard opened 1 year ago

lonestard commented 1 year ago

Is there an existing issue for this?

What happened?

After latest update image2image no longer appears to work. When you push generate nothing happens.

Steps to reproduce the problem

  1. Go to .... image2image and load image and prompt
  2. Press ....generate
  3. ...

What should have happened?

new image should generate

Commit where the problem happens

commit: 5ab7f213

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Brave

Command Line Arguments

--reinstall-xformers --reinstall-torch --no-half-vae --opt-channelslast

List of extensions

no

Console logs

Model loaded in 17.0s (load weights from disk: 12.0s, create model: 0.3s, apply weights to model: 0.5s, apply channels_last: 0.3s, apply half(): 0.4s, move model to device: 0.9s, load textual inversion embeddings: 2.6s).
Error executing callback ui_tabs_callback for F:\Stabledif\stable-diffusion-webui\extensions\stable-diffusion-webui-instruct-pix2pix\scripts\instruct-pix2pix.py
Traceback (most recent call last):
  File "F:\Stabledif\stable-diffusion-webui\modules\script_callbacks.py", line 134, in ui_tabs_callback
    res += c.callback() or []
  File "F:\Stabledif\stable-diffusion-webui\extensions\stable-diffusion-webui-instruct-pix2pix\scripts\instruct-pix2pix.py", line 749, in on_ui_tabs
    create_tab(tab)
  File "F:\Stabledif\stable-diffusion-webui\extensions\stable-diffusion-webui-instruct-pix2pix\scripts\instruct-pix2pix.py", line 585, in create_tab
    ip2p_prompt, ip2p_prompt_styles, ip2p_negative_prompt, submit, ip2p_interrogate, ip2p_deepbooru, ip2p_prompt_style_apply, ip2p_save_style, ip2p_paste, extra_networks_button, token_counter, token_button, negative_token_counter, negative_token_button = create_toprow(is_img2img=True)
ValueError: too many values to unpack (expected 14)

Additional information

No response

missionfloyd commented 1 year ago

Remove the instruct pix2pix extension, it's built-in now.

--reinstall-xformers --reinstall-torch

You should remove those unless you want it reinstalling them every time.