Dreambooth-Stable-Diffusion icon indicating copy to clipboard operation
Dreambooth-Stable-Diffusion copied to clipboard

Where to put the exported folder "stable_diffusion_weights" in a local stable diffusion installation

Open The-unknown-Shadowman opened this issue 3 years ago • 6 comments

Hello. Thanx for the good work. I managed to get a trained model by using a colab notebook. Now I exported the model in the folder "stable_diffusion_weights" and downloaded it. Where do I put the folder in a local stable-diffusion installation and use it in the prompt? I use the version of automatic1111.

The-unknown-Shadowman avatar Oct 01 '22 19:10 The-unknown-Shadowman

You need to wait for the translate tool.

TemporalLabsLLC-SOL avatar Oct 02 '22 11:10 TemporalLabsLLC-SOL

Ok. Thnx for answering.

The-unknown-Shadowman avatar Oct 02 '22 11:10 The-unknown-Shadowman

name the trained model file "model.ckpt" and put it into folder "stable-diffusion-webui/models/Stable-diffusion/", it should work.

Kameronski avatar Oct 04 '22 06:10 Kameronski

Which file ist the trained model? There are several bin files.

The-unknown-Shadowman avatar Oct 04 '22 06:10 The-unknown-Shadowman

I found a way. I used this script https://gist.github.com/jachiam/ef621e765c2d88f9dc090ee48f6ced89 to convert the model of the folder SKS. Then I pruned the file with https://github.com/JoePenna/Dreambooth-Stable-Diffusion/blob/main/scripts/prune-ckpt.py. You got a CKPT-file at the end.

Instructions: https://www.youtube.com/watch?v=_e5ymV4zY3w&t=175s

The-unknown-Shadowman avatar Oct 04 '22 08:10 The-unknown-Shadowman

you can also follow the instructions here https://github.com/CompVis/stable-diffusion#stable-diffusion-v1

mkdir -p models/ldm/stable-diffusion-v1/
ln -s <path/to/model.ckpt> models/ldm/stable-diffusion-v1/model.ckpt 

danielraffel avatar Nov 02 '22 01:11 danielraffel