sketch2img icon indicating copy to clipboard operation
sketch2img copied to clipboard

What is hugging face repo-id?

Open rs2125 opened this issue 3 months ago • 0 comments

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'.

rs2125 avatar Mar 21 '24 15:03 rs2125