Upload facebook_sam3_2.txt with huggingface_hub
Browse files- facebook_sam3_2.txt +5 -95
facebook_sam3_2.txt
CHANGED
|
@@ -8,100 +8,10 @@ model = AutoModel.from_pretrained("facebook/sam3")
|
|
| 8 |
|
| 9 |
ERROR:
|
| 10 |
Traceback (most recent call last):
|
| 11 |
-
File "/tmp
|
| 12 |
-
response.raise_for_status()
|
| 13 |
-
~~~~~~~~~~~~~~~~~~~~~~~~~^^
|
| 14 |
-
File "/tmp/.cache/uv/environments-v2/e0ad3a6bca3defbb/lib/python3.13/site-packages/requests/models.py", line 1026, in raise_for_status
|
| 15 |
-
raise HTTPError(http_error_msg, response=self)
|
| 16 |
-
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://huggingface.co/facebook/sam3/resolve/main/preprocessor_config.json
|
| 17 |
-
|
| 18 |
-
The above exception was the direct cause of the following exception:
|
| 19 |
-
|
| 20 |
-
Traceback (most recent call last):
|
| 21 |
-
File "/tmp/.cache/uv/environments-v2/e0ad3a6bca3defbb/lib/python3.13/site-packages/transformers/utils/hub.py", line 479, in cached_files
|
| 22 |
-
hf_hub_download(
|
| 23 |
-
~~~~~~~~~~~~~~~^
|
| 24 |
-
path_or_repo_id,
|
| 25 |
-
^^^^^^^^^^^^^^^^
|
| 26 |
-
...<10 lines>...
|
| 27 |
-
local_files_only=local_files_only,
|
| 28 |
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 29 |
-
)
|
| 30 |
-
^
|
| 31 |
-
File "/tmp/.cache/uv/environments-v2/e0ad3a6bca3defbb/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
|
| 32 |
-
return fn(*args, **kwargs)
|
| 33 |
-
File "/tmp/.cache/uv/environments-v2/e0ad3a6bca3defbb/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1007, in hf_hub_download
|
| 34 |
-
return _hf_hub_download_to_cache_dir(
|
| 35 |
-
# Destination
|
| 36 |
-
...<14 lines>...
|
| 37 |
-
force_download=force_download,
|
| 38 |
-
)
|
| 39 |
-
File "/tmp/.cache/uv/environments-v2/e0ad3a6bca3defbb/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1114, in _hf_hub_download_to_cache_dir
|
| 40 |
-
_raise_on_head_call_error(head_call_error, force_download, local_files_only)
|
| 41 |
-
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 42 |
-
File "/tmp/.cache/uv/environments-v2/e0ad3a6bca3defbb/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1655, in _raise_on_head_call_error
|
| 43 |
-
raise head_call_error
|
| 44 |
-
File "/tmp/.cache/uv/environments-v2/e0ad3a6bca3defbb/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1543, in _get_metadata_or_catch_error
|
| 45 |
-
metadata = get_hf_file_metadata(
|
| 46 |
-
url=url, proxies=proxies, timeout=etag_timeout, headers=headers, token=token, endpoint=endpoint
|
| 47 |
-
)
|
| 48 |
-
File "/tmp/.cache/uv/environments-v2/e0ad3a6bca3defbb/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
|
| 49 |
-
return fn(*args, **kwargs)
|
| 50 |
-
File "/tmp/.cache/uv/environments-v2/e0ad3a6bca3defbb/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1460, in get_hf_file_metadata
|
| 51 |
-
r = _request_wrapper(
|
| 52 |
-
method="HEAD",
|
| 53 |
-
...<5 lines>...
|
| 54 |
-
timeout=timeout,
|
| 55 |
-
)
|
| 56 |
-
File "/tmp/.cache/uv/environments-v2/e0ad3a6bca3defbb/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 283, in _request_wrapper
|
| 57 |
-
response = _request_wrapper(
|
| 58 |
-
method=method,
|
| 59 |
-
...<2 lines>...
|
| 60 |
-
**params,
|
| 61 |
-
)
|
| 62 |
-
File "/tmp/.cache/uv/environments-v2/e0ad3a6bca3defbb/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 307, in _request_wrapper
|
| 63 |
-
hf_raise_for_status(response)
|
| 64 |
-
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
|
| 65 |
-
File "/tmp/.cache/uv/environments-v2/e0ad3a6bca3defbb/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 419, in hf_raise_for_status
|
| 66 |
-
raise _format(GatedRepoError, message, response) from e
|
| 67 |
-
huggingface_hub.errors.GatedRepoError: 403 Client Error. (Request ID: Root=1-69201149-42795f2f2fb333e04d5a9dd0;cb279167-5605-4dcf-8494-0ac5610c4a81)
|
| 68 |
-
|
| 69 |
-
Cannot access gated repo for url https://huggingface.co/facebook/sam3/resolve/main/preprocessor_config.json.
|
| 70 |
-
Access to model facebook/sam3 is restricted and you are not in the authorized list. Visit https://huggingface.co/facebook/sam3 to ask for access.
|
| 71 |
-
|
| 72 |
-
The above exception was the direct cause of the following exception:
|
| 73 |
-
|
| 74 |
-
Traceback (most recent call last):
|
| 75 |
-
File "/tmp/facebook_sam3_2A9TSyC.py", line 26, in <module>
|
| 76 |
processor = AutoImageProcessor.from_pretrained("facebook/sam3")
|
| 77 |
-
File "/tmp/.cache/uv/environments-v2/e0ad3a6bca3defbb/lib/python3.13/site-packages/transformers/models/auto/image_processing_auto.py", line
|
| 78 |
-
raise
|
| 79 |
-
|
| 80 |
-
config_dict, _ = ImageProcessingMixin.get_image_processor_dict(
|
| 81 |
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
| 82 |
-
pretrained_model_name_or_path, image_processor_filename=image_processor_filename, **kwargs
|
| 83 |
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 84 |
-
)
|
| 85 |
-
^
|
| 86 |
-
File "/tmp/.cache/uv/environments-v2/e0ad3a6bca3defbb/lib/python3.13/site-packages/transformers/image_processing_base.py", line 337, in get_image_processor_dict
|
| 87 |
-
resolved_file := cached_file(
|
| 88 |
-
~~~~~~~~~~~^
|
| 89 |
-
pretrained_model_name_or_path,
|
| 90 |
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 91 |
-
...<10 lines>...
|
| 92 |
-
_raise_exceptions_for_missing_entries=False,
|
| 93 |
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 94 |
)
|
| 95 |
-
|
| 96 |
-
File "/tmp/.cache/uv/environments-v2/e0ad3a6bca3defbb/lib/python3.13/site-packages/transformers/utils/hub.py", line 322, in cached_file
|
| 97 |
-
file = cached_files(path_or_repo_id=path_or_repo_id, filenames=[filename], **kwargs)
|
| 98 |
-
File "/tmp/.cache/uv/environments-v2/e0ad3a6bca3defbb/lib/python3.13/site-packages/transformers/utils/hub.py", line 543, in cached_files
|
| 99 |
-
raise OSError(
|
| 100 |
-
...<2 lines>...
|
| 101 |
-
) from e
|
| 102 |
-
OSError: You are trying to access a gated repo.
|
| 103 |
-
Make sure to have access to it at https://huggingface.co/facebook/sam3.
|
| 104 |
-
403 Client Error. (Request ID: Root=1-69201149-42795f2f2fb333e04d5a9dd0;cb279167-5605-4dcf-8494-0ac5610c4a81)
|
| 105 |
-
|
| 106 |
-
Cannot access gated repo for url https://huggingface.co/facebook/sam3/resolve/main/preprocessor_config.json.
|
| 107 |
-
Access to model facebook/sam3 is restricted and you are not in the authorized list. Visit https://huggingface.co/facebook/sam3 to ask for access.
|
|
|
|
| 8 |
|
| 9 |
ERROR:
|
| 10 |
Traceback (most recent call last):
|
| 11 |
+
File "/tmp/facebook_sam3_2pYWA7Y.py", line 26, in <module>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
processor = AutoImageProcessor.from_pretrained("facebook/sam3")
|
| 13 |
+
File "/tmp/.cache/uv/environments-v2/e0ad3a6bca3defbb/lib/python3.13/site-packages/transformers/models/auto/image_processing_auto.py", line 622, in from_pretrained
|
| 14 |
+
raise ValueError(
|
| 15 |
+
...<3 lines>...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
)
|
| 17 |
+
ValueError: Unrecognized image processor in facebook/sam3. Should have a `image_processor_type` key in its preprocessor_config.json of config.json, or one of the following `model_type` keys in its config.json: aimv2, aimv2_vision_model, align, aria, beit, bit, blip, blip-2, bridgetower, chameleon, chinese_clip, clip, clipseg, cohere2_vision, conditional_detr, convnext, convnextv2, cvt, data2vec-vision, deepseek_vl, deepseek_vl_hybrid, deformable_detr, deit, depth_anything, depth_pro, deta, detr, dinat, dinov2, dinov3_vit, donut-swin, dpt, edgetam, efficientformer, efficientloftr, efficientnet, eomt, flava, focalnet, fuyu, gemma3, gemma3n, git, glm4v, glpn, got_ocr2, grounding-dino, groupvit, hiera, idefics, idefics2, idefics3, ijepa, imagegpt, instructblip, instructblipvideo, janus, kosmos-2, kosmos-2.5, layoutlmv2, layoutlmv3, levit, lfm2_vl, lightglue, llama4, llava, llava_next, llava_next_video, llava_onevision, mask2former, maskformer, metaclip_2, mgp-str, mistral3, mlcd, mllama, mm-grounding-dino, mobilenet_v1, mobilenet_v2, mobilevit, mobilevitv2, nat, nougat, oneformer, ovis2, owlv2, owlvit, paligemma, perceiver, perception_lm, phi4_multimodal, pix2struct, pixtral, poolformer, prompt_depth_anything, pvt, pvt_v2, qwen2_5_vl, qwen2_vl, qwen3_vl, regnet, resnet, rt_detr, sam, sam2, sam_hq, segformer, seggpt, shieldgemma2, siglip, siglip2, smolvlm, superglue, superpoint, swiftformer, swin, swin2sr, swinv2, table-transformer, textnet, timesformer, timm_wrapper, tvlt, tvp, udop, upernet, van, videomae, vilt, vipllava, vit, vit_hybrid, vit_mae, vit_msn, vitmatte, xclip, yolos, zoedepth
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|