Skip to content

Commit c76c626

Browse files
committed
Update k-diffusion repo and update to SD v1.5 model
1 parent 4544dfb commit c76c626

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ Copy this github repository and extract the files.
5757

5858
### Download the CompVis Stable-diffusion model.
5959

60-
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.
60+
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.
6161

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

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

install_sdco.bat

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ call pip install -e git+https://github.com/CompVis/taming-transformers.git@maste
1414
call pip install -e git+https://github.com/openai/CLIP.git@main#egg=clip
1515
call pip install -e git+https://github.com/TencentARC/GFPGAN#egg=GFPGAN
1616
call pip install -e git+https://github.com/xinntao/Real-ESRGAN#egg=realesrgan
17-
call pip install -e git+https://github.com/hlky/k-diffusion-sd#egg=k_diffusion
18-
copy sd-v1-4.ckpt "models/ldm/stable-diffusion-v1/model.ckpt"
19-
del sd-v1-4.ckpt
17+
call pip install -e git+https://github.com/crowsonkb/k-diffusion#egg=k_diffusion
18+
copy v1-5-pruned-emaonly.ckpt "models/ldm/stable-diffusion-v1/model.ckpt"
19+
del v1-5-pruned-emaonly.ckpt
2020
copy GFPGANv1.3.pth "src/gfpgan/experiments/pretrained_models/GFPGANv1.3.pth"
2121
del GFPGANv1.3.pth
2222

install_sdco.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ pip install -e git+https://github.com/CompVis/taming-transformers.git@master#egg
1616
pip install -e git+https://github.com/openai/CLIP.git@main#egg=clip
1717
pip install -e git+https://github.com/TencentARC/GFPGAN#egg=GFPGAN
1818
pip install -e git+https://github.com/xinntao/Real-ESRGAN#egg=realesrgan
19-
pip install -e git+https://github.com/hlky/k-diffusion-sd#egg=k_diffusion
20-
cp sd-v1-4.ckpt models/ldm/stable-diffusion-v1/model.ckpt
21-
rm sd-v1-4.ckpt
19+
pip install -e git+https://github.com/crowsonkb/k-diffusion#egg=k_diffusion
20+
cp v1-5-pruned-emaonly.ckpt models/ldm/stable-diffusion-v1/model.ckpt
21+
rm v1-5-pruned-emaonly.ckpt
2222
cp GFPGANv1.3.pth src/gfpgan/experiments/pretrained_models/GFPGANv1.3.pth
2323
rm GFPGANv1.3.pth

0 commit comments

Comments
 (0)