stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: Dreambooth Extension breaks Install

Open Alex52Github opened this issue 2 years ago • 4 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What happened?

Whenever I install the dreambooth extension, and then reboot, I get stuck on 'Installing Requirements for Web UI' and cant boot with dreambooth. So I close the window to try and boot again but now get 'WinError 126' along with a bunch of other errors. The only way to get Automatic 1111 Web UI working again is to delete the extension and then delete my venv folder and then reinstall, but then I can't use dreambooth. Does anyone know why the dreambooth extension breaks my venv folder/automatic 1111 install?

Steps to reproduce the problem

  1. Install the Dreambooth Extension
  2. Reboot (Get stuck on Installing Requirements for Web UI) After DreamBooth Install
  3. Try to Close and boot again
  4. Get Many different errors (my venv folder is now broken and I have to reinstall without the extension) After Closing Installing Requirements

What should have happened?

The Web UI should have booted normally with the dreambooth extension.

Commit where the problem happens

ac085628540d0ec6a988fad93f5b8f2154209571

What platforms do you use to access UI ?

Windows

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

No response

Additional information, context and logs

No response

Alex52Github avatar Nov 14 '22 02:11 Alex52Github

Same here. After the latest db extension update the gui breaks with the same error you wrote.

Pernjakovic avatar Nov 14 '22 09:11 Pernjakovic

this just happened to me too.

spod-zone avatar Nov 14 '22 12:11 spod-zone

First upgrade to the latest extension build, and if the problem persists, write an issue to @d8ahazard git site, please.

mykeehu avatar Nov 14 '22 14:11 mykeehu

I experienced a similar problem on my end, for me it appears as though the torchvision/torch versions were changed upon installing the extension. To fix it, I just ran the following from within the venv:

pip install torch==1.12.1+cu116 torchvision==0.13.1+cu116 --extra-index-url https://download.pytorch.org/whl/cu116

smrl avatar Nov 14 '22 15:11 smrl

I experienced a similar problem on my end, for me it appears as though the torchvision/torch versions were changed upon installing the extension. To fix it, I just ran the following from within the venv:

pip install torch==1.12.1+cu116 torchvision==0.13.1+cu116 --extra-index-url https://download.pytorch.org/whl/cu116

Worked for me, thanks!

jwax33 avatar Nov 15 '22 01:11 jwax33

I experienced a similar problem on my end, for me it appears as though the torchvision/torch versions were changed upon installing the extension. To fix it, I just ran the following from within the venv:

pip install torch==1.12.1+cu116 torchvision==0.13.1+cu116 --extra-index-url https://download.pytorch.org/whl/cu116

do you mean on "git bash" inside of the directory?

i tried to get a clone of the extension because the webui failed to do so, so i placed it in the directory and launched, got the same error as you got here with different compilation versions

spechok avatar Nov 19 '22 09:11 spechok

do you mean on "git bash" inside of the directory?

you open a standard cmd in the main dir and then run the \venv\activate.bat to activate the venv and then type the pip install command

RURon avatar Nov 21 '22 20:11 RURon

do you mean on "git bash" inside of the directory?

you open a standard cmd in the main dir and then run the \venv\activate.bat to activate the venv and then type the pip install command

I'm sorry I have the same problem and don't have a deep understanding of commands and what is venv, can you explain in step by step what to do, if possible, please?!

nevilbutani avatar Dec 03 '22 23:12 nevilbutani

I'm sorry I have the same problem and don't have a deep understanding of commands and what is venv, can you explain in step by step what to do, if possible, please?!

  1. You open a command prompt in the base directory of your automatic1111 install (navigate with a Windows Explorer window to that directory and in the address line in the top you overwrite the whole path and just enter cmd and press enter - that will open a cmd prompt at that directory)
  2. in the cmd enter venv\Scripts\activate.bat and press enter - that should activate that venv indicated by the "(venv)" in the beginning of each prompt line
  3. Now enter that pip install torch==1.12.1+cu116 torchvision==0.13.1+cu116 --extra-index-url https://download.pytorch.org/whl/cu116

RURon avatar Dec 04 '22 12:12 RURon