Awesome
Fork for use with sd-webui
- If you're following the steps outline via Installation Link, there is an optional steps to load Latent Diffusion Super Resolution (LDSR)
- This repo helps minor updates to automatic download_mode.bat and keep things compatible with sd-webui
- download_mode.bat - will download the required model files and place them under experiments/pretrained_models
LDSR
- Git clone this repo Hafiidz/latent-diffusion into your
/stable-diffusion-webui/src/
folder
- You can do this by navigating to
/stable-diffusion-webui/src/
folder in your VSCode terminal, or via running git bash or other relevant command prompt
<div align="center">
<img src=https://user-images.githubusercontent.com/3688500/189254107-2fbae6dc-e856-4814-89e3-256c2b890f30.png />
</div>
- Run
git clone https://github.com/Hafiidz/latent-diffusion.git
- It will take a while to download and once the cloning is completed, you will see the following messages:
<div align="center">
<img src=https://user-images.githubusercontent.com/3688500/189251749-27b0563c-1e71-43f9-985c-858f27920fd1.png />
</div>
- Next, run
/stable-diffusion-webui/src/latent-diffusion/download_model.bat
, by double clicking it, to automatically download 2 relevant files project.yaml
and model.cpkt
- The file will take a while to download, once done, navigate to
stable-diffusion-webui/src/latent-diffusion/experiments/pretrained_models/
and confirm the two files are there
<div align="center">
<img src=https://user-images.githubusercontent.com/3688500/189252740-1aee29fb-7f2a-4873-90b7-74410a5277e8.png />
</div>
- (Optional) If the two files are not there, you can manually download them:
- Download project.yaml and model last.cpkt.
- Rename
<date>-project.yaml
to project.yaml
and last.ckpt
to model.ckpt
- Place both under
stable-diffusion-webui/src/latent-diffusion/experiments/pretrained_models/
- Follow the discussion or raise a new issue here.
Link to Latent diffusion details