Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

questions about loading ckpt #24

Open
koalaaaaaaaaa opened this issue Sep 13, 2023 · 3 comments
Open

questions about loading ckpt #24

koalaaaaaaaaa opened this issue Sep 13, 2023 · 3 comments

Comments

@koalaaaaaaaaa
Copy link

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!

@YBYBZhang
Copy link
Owner

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.

@koalaaaaaaaaa
Copy link
Author

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!

@YBYBZhang
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants