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

Not Found for url: https://huggingface.co/ckpt/stable-diffusion-v1-4/resolve/main/tokenizer/tokenizer_config.json #1

Open
maralzar opened this issue Mar 6, 2024 · 1 comment

Comments

@maralzar
Copy link

maralzar commented Mar 6, 2024

raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/ckpt/stable-diffusion-v1-4/resolve/main/tokenizer/tokenizer_config.json

The above exception was the direct cause of the following exception:

@BitCodingWalkin
Copy link
Collaborator

Thank you for your attention for our work, the problem you have mentioned is because of the different version of Stable diffusion we choose in our config files. We assume the user download SDv1.4/SDv1.5 in advance by default in the folder ckpt, so you can first run download.py to download the model from hugging face, or you can directly modify the local path in the config file from ckpt/stable-diffusion-v1-4 to the repo id in hugging face, for example, SDv1.5 corresponds to runwayml/stable-diffusion-v1-5, and SDv1.4 corresponds to CompVis/stable-diffusion-v1-4. I have tested both method and it could solve the problem you mentioned. Hope these could be of some help for you.

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