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

OSError: Error no file named config.json found in directorystabilityai/stable-diffusion-2-1-base #3

Open
pcxdi opened this issue Oct 2, 2024 · 0 comments

Comments

@pcxdi
Copy link

pcxdi commented Oct 2, 2024

Hello, thank you for your wonderful work. I appreciate your paper very much. When I tried to run this project, I encountered such an error, python main.py --cls doctor --lam 500
Traceback (most recent call last):
File "main.py", line 67, in
revision=None if args.pretrained_vae_name_or_path else args.revision,
The File "/ home/as/anaconda3 / envs/debias_vl - main/lib/python3.6 / site - packages/diffusers/modeling_utils. Py", line 342, in from_pretrained
**kwargs,
The File "/ home/as/anaconda3 / envs/debias_vl - main/lib/python3.6 / site - packages/diffusers/configuration_utils. Py", line 99, in from_config
config_dict = cls.get_config_dict(pretrained_model_name_or_path=pretrained_model_name_or_path, **kwargs)
The File "/ home/as/anaconda3 / envs/debias_vl - main/lib/python3.6 / site - packages/diffusers/configuration_utils. Py", line 145, in get_config_dict
f"Error no file named {cls.config_name} found in directory {pretrained_model_name_or_path}."
OSError: Error no file named config.json found in directory /home/as/lxx/debias_vl-main/stabilityai/stable-diffusion-2-1-base.
And I reset the network automatic download couldn't find config.json, and when I downloaded it manually, I couldn't find config.json on Hugging Face. All I doubt is not gone, can you provide me with the config.json file? Be grateful

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

1 participant