Coder Social home page Coder Social logo

Comments (7)

orionaskatu avatar orionaskatu commented on April 28, 2024 1

On Linux I don't have any issue with the new checks.
It seems to have trouble finding the base directory of stable-diffusion (I don't think it's installed in the D:\ root).
Do you have the webui.py in a subdirectory ?

For example if you installed stable-diffusion in D:\stable-diffusion\, you need to have webui.py in D:\stable-diffusion\stable-diffusion-webui\webui.py and launch it from D:\stable-diffusion\ with python stable-diffusion-webui/webui.py

from stable-diffusion-webui.

orionaskatu avatar orionaskatu commented on April 28, 2024 1

Good news ๐Ÿ‘

Yes directory structure is important, strange that it worked with everything in the same directory ๐Ÿ˜…

from stable-diffusion-webui.

1blackbar avatar 1blackbar commented on April 28, 2024

I have it in a folder called stabot ( d:/stabot/webui.py), is there any particular name i should have ? cause im also getting
Warning: Stable Diffusion not found at path D:\ldm
Warning: Taming Transformers not found at path D:\taming-transformers\taming

I dont use default names, too long, all worked fine until today.Ill do it the new way if i have to tho but like i wrote - hlky webui works fine being derivative of this one. this one is just named webui and hlky is webui2.py
ok went forward but whines about taming transformers not being on d

(ldm) D:\sd\webui>python webui.py
Warning: Taming Transformers not found at path D:\taming-transformers\taming

from stable-diffusion-webui.

orionaskatu avatar orionaskatu commented on April 28, 2024

I think you just need to move webui.py in a subdirectory like D:\stabot\scripts\webui.py and then launch from D:\stabot\ with python scripts\webui.py

from stable-diffusion-webui.

1blackbar avatar 1blackbar commented on April 28, 2024

did just that, but i still get taming transformers thinng even tho i did git clone https://github.com/CompVis/taming-transformers
when i was in sd directory and pip install transformers==4.19.2 diffusers invisible-watermark
i dont get why it wants them at d:
maybe my env got wrecked

BAZO>d:

(ldm) D:>pip install transformers==4.19.2 diffusers invisible-watermark
Requirement already satisfied: transformers==4.19.2 in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (4.19.2)
Requirement already satisfied: diffusers in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (0.2.4)
Requirement already satisfied: invisible-watermark in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (0.1.5)
Requirement already satisfied: requests in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from transformers==4.19.2) (2.25.1)
Requirement already satisfied: numpy>=1.17 in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from transformers==4.19.2) (1.23.2)
Requirement already satisfied: pyyaml>=5.1 in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from transformers==4.19.2) (6.0)
Requirement already satisfied: tqdm>=4.27 in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from transformers==4.19.2) (4.64.0)
Requirement already satisfied: filelock in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from transformers==4.19.2) (3.8.0)
Requirement already satisfied: regex!=2019.12.17 in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from transformers==4.19.2) (2022.8.17)
Requirement already satisfied: tokenizers!=0.11.3,<0.13,>=0.11.1 in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from transformers==4.19.2) (0.12.1)
Requirement already satisfied: packaging>=20.0 in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from transformers==4.19.2) (21.3)
Requirement already satisfied: huggingface-hub<1.0,>=0.1.0 in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from transformers==4.19.2) (0.8.1)
Requirement already satisfied: typing-extensions>=3.7.4.3 in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from huggingface-hub<1.0,>=0.1.0->transformers==4.19.2) (4.3.0)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from packaging>=20.0->transformers==4.19.2) (3.0.9)
Requirement already satisfied: colorama in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from tqdm>=4.27->transformers==4.19.2) (0.4.5)
Requirement already satisfied: torch>=1.4 in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from diffusers) (1.11.0)
Requirement already satisfied: importlib-metadata in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from diffusers) (4.12.0)
Requirement already satisfied: Pillow in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from diffusers) (9.0.0)
Requirement already satisfied: onnx in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from invisible-watermark) (1.12.0)
Requirement already satisfied: opencv-python>=4.1.0.25 in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from invisible-watermark) (4.1.2.30)
Requirement already satisfied: PyWavelets>=1.1.1 in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from invisible-watermark) (1.3.0)
Requirement already satisfied: onnxruntime in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from invisible-watermark) (1.12.1)
Requirement already satisfied: zipp>=0.5 in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from importlib-metadata->diffusers) (3.8.1)
Requirement already satisfied: protobuf<=3.20.1,>=3.12.2 in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from onnx->invisible-watermark) (3.19.4)
Requirement already satisfied: sympy in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from onnxruntime->invisible-watermark) (1.11.1)
Requirement already satisfied: coloredlogs in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from onnxruntime->invisible-watermark) (15.0.1)
Requirement already satisfied: flatbuffers in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from onnxruntime->invisible-watermark) (2.0.7)
Requirement already satisfied: humanfriendly>=9.1 in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from coloredlogs->onnxruntime->invisible-watermark) (10.0)
Requirement already satisfied: pyreadline3 in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from humanfriendly>=9.1->coloredlogs->onnxruntime->invisible-watermark) (3.4.1)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from requests->transformers==4.19.2) (2022.6.15)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from requests->transformers==4.19.2) (1.26.11)
Requirement already satisfied: idna<3,>=2.5 in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from requests->transformers==4.19.2) (2.10)
Requirement already satisfied: chardet<5,>=3.0.2 in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from requests->transformers==4.19.2) (4.0.0)
Requirement already satisfied: mpmath>=0.19 in c:\users\bazo\miniconda3\envs\ldm\lib\site-packages (from sympy->onnxruntime->invisible-watermark) (1.2.1)

from stable-diffusion-webui.

orionaskatu avatar orionaskatu commented on April 28, 2024

Do you have a taming-transformers directory in D:\stabot\src\ ?
If not you may have to do a git clone https://github.com/CompVis/taming-transformers from inside D:\stabot\src\

from stable-diffusion-webui.

1blackbar avatar 1blackbar commented on April 28, 2024

yes i have all that, also tried other repos they all working fine just this one asks for taming on D: which is weird , didnt happened before... ill wait maybe its some typos in repo

OK i redid whole install again , looks like structure have changed, i need to have it like this -
D:\stabot\stable-diffusion\stable-diffusion-webui/webui.py

Yesterday i had it running like this D:\stabot\webui.py

Heres how to solve this in cause others will have some issue similar to this -
So i did the install in D:\stabot

:: crate a directory somewhere for stable diffusion and open cmd in it;
:: make sure you are in the right directory; the command must output the directory you chose
echo %cd%

:: install torch with CUDA support. See https://pytorch.org/get-started/locally/ for more instructions if this fails.
pip install torch --extra-index-url https://download.pytorch.org/whl/cu113

:: check if torch supports GPU; this must output "True". You need CUDA 11. installed for this. You might be able to use
:: a different version, but this is what I tested.
python -c "import torch; print(torch.cuda.is_available())"

:: clone Stable Diffusion repositories
git clone https://github.com/CompVis/stable-diffusion.git
git clone https://github.com/CompVis/taming-transformers

:: install requirements of Stable Diffusion
pip install transformers==4.19.2 diffusers invisible-watermark

:: install k-diffusion
pip install git+https://github.com/crowsonkb/k-diffusion.git

:: (optional) install GFPGAN to fix faces
pip install git+https://github.com/TencentARC/GFPGAN.git

Then i did cd stable-diffusion

:: go into stable diffusion's repo directory
cd stable-diffusion

:: clone web ui
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git

:: install requirements of web ui
pip install -r stable-diffusion-webui/requirements.txt

And it was solved , previously i had all in d:stabot
Thanks for helping

from stable-diffusion-webui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.