Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ Copy this github repository and extract the files.

### Download the CompVis Stable-diffusion model.

Go here and download the correct mode from here. You'll have to agree to the license setup an account but this is the bread and butter AI art generating learning model.
Go here and download the correct model from here. You'll have to agree to the license setup an account but this is the bread and butter AI art generating learning model.

https://huggingface.co/CompVis/stable-diffusion-v-1-4-original
https://huggingface.co/runwayml/stable-diffusion-v1-5

copy the file to your stable-diffusion-cpuonly-main directory

Expand Down
6 changes: 3 additions & 3 deletions install_sdco.bat
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ call pip install -e git+https://github.com/CompVis/taming-transformers.git@maste
call pip install -e git+https://github.com/openai/CLIP.git@main#egg=clip
call pip install -e git+https://github.com/TencentARC/GFPGAN#egg=GFPGAN
call pip install -e git+https://github.com/xinntao/Real-ESRGAN#egg=realesrgan
call pip install -e git+https://github.com/hlky/k-diffusion-sd#egg=k_diffusion
copy sd-v1-4.ckpt "models/ldm/stable-diffusion-v1/model.ckpt"
del sd-v1-4.ckpt
call pip install -e git+https://github.com/crowsonkb/k-diffusion#egg=k_diffusion
copy v1-5-pruned-emaonly.ckpt "models/ldm/stable-diffusion-v1/model.ckpt"
del v1-5-pruned-emaonly.ckpt
copy GFPGANv1.3.pth "src/gfpgan/experiments/pretrained_models/GFPGANv1.3.pth"
del GFPGANv1.3.pth

Expand Down
6 changes: 3 additions & 3 deletions install_sdco.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ pip install -e git+https://github.com/CompVis/taming-transformers.git@master#egg
pip install -e git+https://github.com/openai/CLIP.git@main#egg=clip
pip install -e git+https://github.com/TencentARC/GFPGAN#egg=GFPGAN
pip install -e git+https://github.com/xinntao/Real-ESRGAN#egg=realesrgan
pip install -e git+https://github.com/hlky/k-diffusion-sd#egg=k_diffusion
cp sd-v1-4.ckpt models/ldm/stable-diffusion-v1/model.ckpt
rm sd-v1-4.ckpt
pip install -e git+https://github.com/crowsonkb/k-diffusion#egg=k_diffusion
cp v1-5-pruned-emaonly.ckpt models/ldm/stable-diffusion-v1/model.ckpt
rm v1-5-pruned-emaonly.ckpt
cp GFPGANv1.3.pth src/gfpgan/experiments/pretrained_models/GFPGANv1.3.pth
rm GFPGANv1.3.pth