0018名無しさん@お腹いっぱい。
2022/08/29(月) 19:03:55.25ID:ayWOlSNk1 https://github.com/hlky/stable-diffusion/archive/refs/heads/main.zip をDLして展開する
Git使える場合更新に追従しやすいcloneの方が良い
git clone https://github.com/hlky/stable-diffusion.git
2 https://huggingface.co/CompVis/stable-diffusion-v-1-4-original で登録・同意して
モデル(sd-v1-4.ckpt)をDLして model.ckp にリネームして models/ldm/stable-diffusion-v1/ に置く
3 minicondaをインストールする
https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe
4 webui.cmd を実行する
5 http://localhost:7860/ をブラウザで開く
●以下はオプション
1. GFPGAN(顔補正)の有効化
https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.3.pth
をDLして src/gfpgan/experiments/pretrained_models/ に置く
2. RealESRGAN(高解像度化)の有効化
https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth
https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.4/RealESRGAN_x4plus_anime_6B.pth
をDLして src/realesrgan/experiments/pretrained_models/ に置く
3. 省メモリ化
scripts/relauncher.py をテキストエディタで開いてこのように追記する
python scripts/webui.py
↓
python scripts/webui.py --optimized-turbo
上記の原本(英文)
https://github.com/hlky/stable-diffusion
他の解説(英文)
https://rentry.org/GUItard