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

What is hugging face repo-id? #2

Open
rs2125 opened this issue Mar 21, 2024 · 0 comments
Open

What is hugging face repo-id? #2

rs2125 opened this issue Mar 21, 2024 · 0 comments

Comments

@rs2125
Copy link

rs2125 commented Mar 21, 2024

What repo-id should be passed when running the file clip_guided_inf.py ?

I am not able the resolve the following issues in the same file:

Traceback (most recent call last):
File "/home1/rishi_suman/MTP2/sketch2img/env37/lib/python3.7/site-packages/diffusers/configuration_utils.py", line 337, in load_config
revision=revision,
File "/home1/rishi_suman/MTP2/sketch2img/env37/lib/python3.7/site-packages/huggingface_hub/utils/_validators.py", line 110, in _inner_fn
validate_repo_id(arg_value)
File "/home1/rishi_suman/MTP2/sketch2img/env37/lib/python3.7/site-packages/huggingface_hub/utils/_validators.py", line 159, in validate_repo_id
"Repo id must be in the form 'repo_name' or 'namespace/repo_name':"
huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': '/root/workspace/storage/models/orangemix'. Use repo_type argument if needed.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "clip_guided_inf.py", line 36, in
scheduler=scheduler,
File "/home1/rishi_suman/MTP2/sketch2img/env37/lib/python3.7/site-packages/diffusers/pipelines/pipeline_utils.py", line 597, in from_pretrained
revision=revision,
File "/home1/rishi_suman/MTP2/sketch2img/env37/lib/python3.7/site-packages/diffusers/configuration_utils.py", line 364, in load_config
f"We couldn't connect to '{HUGGINGFACE_CO_RESOLVE_ENDPOINT}' to load this model, couldn't find it"
OSError: We couldn't connect to 'https://huggingface.co' to load this model, couldn't find it in the cached files and it looks like /root/workspace/storage/models/orangemix is not the path to a directory containing a model_index.json file.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/diffusers/installation#offline-mode'.

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