runtime error
File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 120, in _inner_fn return fn(*args, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/file_download.py", line 1160, in hf_hub_download metadata = get_hf_file_metadata( File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 120, in _inner_fn return fn(*args, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/file_download.py", line 1501, in get_hf_file_metadata hf_raise_for_status(r) File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/utils/_errors.py", line 301, in hf_raise_for_status raise HfHubHTTPError(str(e), response=response) from e huggingface_hub.utils._errors.HfHubHTTPError: 502 Server Error: Bad Gateway for url: https://huggingface.co/nielsr/detr-resnet-50/resolve/main/preprocessor_config.json During handling of the above exception, another exception occurred: Traceback (most recent call last): File "app.py", line 7, in <module> feature_extractor = AutoFeatureExtractor.from_pretrained("nielsr/detr-resnet-50") File "/home/user/.local/lib/python3.8/site-packages/transformers/models/auto/feature_extraction_auto.py", line 312, in from_pretrained config_dict, _ = FeatureExtractionMixin.get_feature_extractor_dict(pretrained_model_name_or_path, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/transformers/feature_extraction_utils.py", line 429, in get_feature_extractor_dict resolved_feature_extractor_file = cached_file( File "/home/user/.local/lib/python3.8/site-packages/transformers/utils/hub.py", line 466, in cached_file raise EnvironmentError(f"There was a specific connection error when trying to load {path_or_repo_id}:\n{err}") OSError: There was a specific connection error when trying to load nielsr/detr-resnet-50: 502 Server Error: Bad Gateway for url: https://huggingface.co/nielsr/detr-resnet-50/resolve/main/preprocessor_config.json
Container logs:
Fetching error logs...