You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OSError: Can't load config for 'stabilityai/stable-diffusion-2-1-base'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'stabilityai/stable-diffusion-2-1-base' is the correct path to a directory containing a model_index.json file
#149
Open
lucasjinreal opened this issue
Mar 30, 2023
· 2 comments
OSError: Can't load config for 'stabilityai/stable-diffusion-2-1-base'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'stabilityai/stable-diffusion-2-1-base' is the correct path to a directory containing a model_index.json file
The text was updated successfully, but these errors were encountered:
OSError: Can't load config for 'stabilityai/stable-diffusion-2-1-base'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'stabilityai/stable-diffusion-2-1-base' is the correct path to a directory containing a model_index.json file
I solve this issue by logging into Huggingface as following:
This problem is caused by the login requirement from HuggingFace. The author of the README file might already log into it before the test, hence didn't meet this problem.
This issue might happen to each user beginning from "Ready-made Core ML Models from Hugging Face Hub" directly to "Image Generation with Python". Hence, I suggest authors update the README file of this project.
OSError: Can't load config for 'stabilityai/stable-diffusion-2-1-base'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'stabilityai/stable-diffusion-2-1-base' is the correct path to a directory containing a model_index.json file
The text was updated successfully, but these errors were encountered: