r/StableDiffusion • • Oct 22 '22

Resource | Update A major update of stablediffusion-infinity with a redesigned UI and better outpainting quality

Enable HLS to view with audio, or disable this notification

143 Upvotes

48 comments sorted by

View all comments

4

u/zfreakazoidz Oct 22 '22

How do you get this to run. I installed the anaconda thing. I then went into the Anconda Prompt window and put:
conda create -n sd-inf python=3.10
conda activate sd-inf
conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch
conda install scipy scikit-image
conda install -c conda-forge diffusers transformers ftfy
pip install opencv-python
pip install gradio==3.6
pip install pytorch-lightning==1.7.7 einops==0.4.1 omegaconf==2.2.3

It finished and nothing started or happened. So I then I ran:
conda activate sd-inf
python app.py

And it this is what it hows but nothing else happens:
https://imgur.com/NUB2HD2

1

u/resurgences Prompt Winner Oct 22 '22

Nothing happens? Try pressing enter while in the CLI, you can force a refresh of it. Although that's rather unlikely.

Have you cloned the repo and cd'ed into it?

2

u/zfreakazoidz Oct 22 '22

Not sure what CLI is. The clone thing I think I did with AUTO1111s version. I don't remember how to do it though.Most of this stuff is another language to me lol

2

u/resurgences Prompt Winner Oct 22 '22 edited Oct 22 '22

Go to the sd infinity repo, click on the green button, download as zip. Unzip, cd into it and activate the environment

conda activate sd-inf

then you can run app.py

Although I've had dependency issues the last time I tried it, this happens frequently because of the many variables in running deep learning locally.

1

u/zfreakazoidz Oct 22 '22

1

u/resurgences Prompt Winner Oct 22 '22

No, that's the docker template. Go Here on desktop and click on the green button, then on download as zip

https://github.com/lkwq007/stablediffusion-infinity

0

u/zfreakazoidz Oct 22 '22

Oh wow thanks. I never realized that button let you download things. Not Github makes way more sense.

1

u/zfreakazoidz Oct 22 '22

Got it unzipped. What does "cd into it"? Command prompt? So bring up the directory in the prompt then run app.py and it should work?

"Go to the sd infinity repo, click on the green button, download as zip. Unzip, cd into it and activate the environment

conda activate sd-inf

then you can run app.py"

1

u/resurgences Prompt Winner Oct 22 '22

cd C:\filepathxyz\abcde\abcde

This changes directory into the directory you specify (the 'working directory'). You can copy the path of any folder by clicking on the adress bar in the file explorer.

Once you have cd'ed, type 'ls' as a demo and it will list the files in your working directory

1

u/zfreakazoidz Oct 22 '22

Good news is I got it to run, bad news is now I get this error:
https://imgur.com/S3PnbEV

1

u/resurgences Prompt Winner Oct 22 '22

Try running pip install --user diffusers

→ More replies