r/StableDiffusion • u/lkwq • Oct 22 '22
Resource | Update A major update of stablediffusion-infinity with a redesigned UI and better outpainting quality
143
Upvotes
r/StableDiffusion • u/lkwq • Oct 22 '22
13
u/lkwq Oct 22 '22 edited Oct 22 '22
New features
Source code: https://github.com/lkwq007/stablediffusion-infinity
Colab: https://colab.research.google.com/github/lkwq007/stablediffusion-infinity/blob/master/stablediffusion_infinity_colab.ipynb
Demo: https://huggingface.co/spaces/lnyan/stablediffusion-infinity
Setup locally: https://github.com/lkwq007/stablediffusion-infinity/blob/master/docs/setup_guide.md
Exported image of the demo video: https://imgur.com/nCdBq7o
Canvas state of the demo video: https://github.com/lkwq007/stablediffusion-infinity/files/9843457/outpaint_20221022.zip
7
u/deadzenspider Oct 22 '22
Wow, that was done with the new 1.5 model? Looks as good as Dalle 2 out painting.
6
u/Agrauwin Oct 22 '22
colab error here:
There was a specific connection error when trying to load runwayml/stable-diffusion-v1-5:
<class 'requests.exceptions.HTTPError'>
3
u/SnooHesitations6482 Oct 24 '22
The great u/NerdyRodent just made a windows installation tutorial. \o/
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
2
u/temalyen Oct 22 '22 edited Oct 22 '22
Oh wow, that looks amazing. Might have to give that a try.
Edit: I did give it a try all it does is generate black boxes. Every single time I've tried to use outpainting (in this or anything else), all it does is give me black boxes. I give up.
2
u/Z3ROCOOL22 Oct 22 '22
I hope we can just do a GIT PULL and not need to install from zero...
1
u/TAZZYLORD9 Oct 22 '22
Looks cool
1
u/ZoobleBat Oct 22 '22
Thank you!!!
1
u/grebenshyo Oct 22 '22
awesome job mate! k-lms ain't working for me on colab, but other than that, this is it 👍🏾
1
u/MoonGotArt Oct 22 '22
Great work! Is this diffusers or compvis?
1
u/jasoa Oct 22 '22
How do you get this running on windows with the runwayml inpainting checkpoint file I've already downloaded? Everything I've tried still kicks off some sort of download and conversion?
1
u/2peteshakur Oct 23 '22 edited Oct 24 '22
ok setup locally on windows and loaded into browser but when i set it up with any models I just get this:
We couldn't connect to 'https://huggingface.co' to load this model, couldn't find it in the cached files and it looks like runwayml/stable-diffusion-inpainting is not the path to a directory containing a model_index.json file.Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/diffusers/installation#offline-mode'.https://huggingface.co/docs/diffusers/installation#offline-mode'.
runwayml/stable-diffusion-inpainting is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'If this is a private repository, make sure to pass a token having permission to this repo with `use_auth_token` or log in with `huggingface-cli login`.
i have logged onto a huggface a/c, any ideas? thanks
UPDATE: ok managed to get a token in there and it seems to work now, thanks, great stuff! :)
1
u/studiokevinabanto Oct 25 '22
I get this error, can someone help me? We couldn't connect to 'https://huggingface.co' to load this model, couldn't find it in the cached files and it looks like runwayml/stable-diffusion-inpainting is not the path to a directory containing a model_index .json file.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/diffusers/installation#offline-mode'.
1
u/Responsible_Pay_5452 Nov 04 '22
Hi there!, wow, thats amazing, If somebody can run it on Mac Mini M1 can share his experience runnning it? Im triying to do it but I still missing on something running app.py
1
u/Important_Animator51 Nov 06 '22
How do I use custom models in Colab?
1
u/[deleted] Jul 17 '23
How to load other inpainting model? Please give an example.
0
u/Z3ROCOOL22 Oct 22 '22
Last update (GIT PULL) broke it: https://i.imgur.com/Ams6Tpw.jpg
0
u/[deleted] Oct 22 '22
[deleted] — view deleted comment