Hugging Face's logo
aryswisnu
/
Runtime error

runtime error

fn(*args, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1371, in hf_hub_download raise LocalEntryNotFoundError( huggingface_hub.utils._errors.LocalEntryNotFoundError: An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 10, in <module> processor = CLIPSegProcessor.from_pretrained("CIDAS/clipseg-rd64-refined") File "/home/user/.local/lib/python3.10/site-packages/transformers/processing_utils.py", line 228, in from_pretrained args = cls._get_arguments_from_pretrained(pretrained_model_name_or_path, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/transformers/processing_utils.py", line 272, in _get_arguments_from_pretrained args.append(attribute_class.from_pretrained(pretrained_model_name_or_path, **kwargs)) File "/home/user/.local/lib/python3.10/site-packages/transformers/image_processing_utils.py", line 206, in from_pretrained image_processor_dict, kwargs = cls.get_image_processor_dict(pretrained_model_name_or_path, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/transformers/image_processing_utils.py", line 335, in get_image_processor_dict resolved_image_processor_file = cached_file( File "/home/user/.local/lib/python3.10/site-packages/transformers/utils/hub.py", line 423, in cached_file raise EnvironmentError( OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like CIDAS/clipseg-rd64-refined is not the path to a directory containing a file named preprocessor_config.json. Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.

Container logs:

Fetching error logs...