ControlVideo icon indicating copy to clipboard operation
ControlVideo copied to clipboard

questions about loading ckpt

Open koalaaaaaaaaa opened this issue 2 years ago • 3 comments

Hi, thanks for your code so much! I met a problem when loading ckpt of stable diffusion v1.5, hope that you'll help me with it. I download the ckpt from the url in README.md (https://huggingface.co/runwayml/stable-diffusion-v1-5), named "v1-5-pruned-emaonly.ckpt", but it seemed that there was no weights for "tokenizer", "text encoder" and etc. I was wondering which ckpt file in specific is correct? Thanks for your kindest help!

koalaaaaaaaaa avatar Sep 13 '23 01:09 koalaaaaaaaaa

Thanks for your attention! Actually, you should download the whole repo (https://huggingface.co/runwayml/stable-diffusion-v1-5), and the downloaded directory is required ckpt.

YBYBZhang avatar Sep 13 '23 02:09 YBYBZhang

thanks for your immediate reply! I still feel puzzled due to my limited knowledge. I'm intended to run inference.py, which requires me to put stable diffusion ckpt in the dir named checkpoints/stable-diffusion-v1-5/, and I'm not sure which ckpt file should I put here. you've mentioned that I need download the whole repo, but I didn't get it clear. Thanks for your further clarifications!

koalaaaaaaaaa avatar Sep 13 '23 03:09 koalaaaaaaaaa

The dir checkpoints/stable-diffusion-v1-5/ is the downloaded repo, and cloning https://huggingface.co/runwayml/stable-diffusion-v1-5 into checkpoints would be fine.

YBYBZhang avatar Sep 13 '23 03:09 YBYBZhang