ariG23498 HF Staff commited on
Commit
152efa3
·
verified ·
1 Parent(s): 6fc1fc8

Upload facebook_sam3_1.txt with huggingface_hub

Browse files
Files changed (1) hide show
  1. facebook_sam3_1.txt +13 -84
facebook_sam3_1.txt CHANGED
@@ -7,97 +7,26 @@ pipe = pipeline("mask-generation", model="facebook/sam3")
7
 
8
  ERROR:
9
  Traceback (most recent call last):
10
- File "/tmp/.cache/uv/environments-v2/49326666076cd0f9/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 402, in hf_raise_for_status
11
- response.raise_for_status()
12
- ~~~~~~~~~~~~~~~~~~~~~~~~~^^
13
- File "/tmp/.cache/uv/environments-v2/49326666076cd0f9/lib/python3.13/site-packages/requests/models.py", line 1026, in raise_for_status
14
- raise HTTPError(http_error_msg, response=self)
15
- requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://huggingface.co/facebook/sam3/resolve/main/config.json
16
 
17
- The above exception was the direct cause of the following exception:
18
 
19
  Traceback (most recent call last):
20
- File "/tmp/.cache/uv/environments-v2/49326666076cd0f9/lib/python3.13/site-packages/transformers/utils/hub.py", line 479, in cached_files
21
- hf_hub_download(
22
- ~~~~~~~~~~~~~~~^
23
- path_or_repo_id,
24
- ^^^^^^^^^^^^^^^^
25
- ...<10 lines>...
26
- local_files_only=local_files_only,
27
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
28
- )
29
- ^
30
- File "/tmp/.cache/uv/environments-v2/49326666076cd0f9/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
31
- return fn(*args, **kwargs)
32
- File "/tmp/.cache/uv/environments-v2/49326666076cd0f9/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1007, in hf_hub_download
33
- return _hf_hub_download_to_cache_dir(
34
- # Destination
35
- ...<14 lines>...
36
- force_download=force_download,
37
- )
38
- File "/tmp/.cache/uv/environments-v2/49326666076cd0f9/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1114, in _hf_hub_download_to_cache_dir
39
- _raise_on_head_call_error(head_call_error, force_download, local_files_only)
40
- ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
41
- File "/tmp/.cache/uv/environments-v2/49326666076cd0f9/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1655, in _raise_on_head_call_error
42
- raise head_call_error
43
- File "/tmp/.cache/uv/environments-v2/49326666076cd0f9/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1543, in _get_metadata_or_catch_error
44
- metadata = get_hf_file_metadata(
45
- url=url, proxies=proxies, timeout=etag_timeout, headers=headers, token=token, endpoint=endpoint
46
- )
47
- File "/tmp/.cache/uv/environments-v2/49326666076cd0f9/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
48
- return fn(*args, **kwargs)
49
- File "/tmp/.cache/uv/environments-v2/49326666076cd0f9/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1460, in get_hf_file_metadata
50
- r = _request_wrapper(
51
- method="HEAD",
52
- ...<5 lines>...
53
- timeout=timeout,
54
- )
55
- File "/tmp/.cache/uv/environments-v2/49326666076cd0f9/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 283, in _request_wrapper
56
- response = _request_wrapper(
57
- method=method,
58
- ...<2 lines>...
59
- **params,
60
- )
61
- File "/tmp/.cache/uv/environments-v2/49326666076cd0f9/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 307, in _request_wrapper
62
- hf_raise_for_status(response)
63
- ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
64
- File "/tmp/.cache/uv/environments-v2/49326666076cd0f9/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 419, in hf_raise_for_status
65
- raise _format(GatedRepoError, message, response) from e
66
- huggingface_hub.errors.GatedRepoError: 403 Client Error. (Request ID: Root=1-6920112d-02f276c612d61ea06144748e;8deb94ce-479f-4235-889b-c1e683c25aff)
67
-
68
- Cannot access gated repo for url https://huggingface.co/facebook/sam3/resolve/main/config.json.
69
- 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.
70
-
71
- The above exception was the direct cause of the following exception:
72
-
73
- Traceback (most recent call last):
74
- File "/tmp/facebook_sam3_1pdN9x2.py", line 26, in <module>
75
  pipe = pipeline("mask-generation", model="facebook/sam3")
76
  File "/tmp/.cache/uv/environments-v2/49326666076cd0f9/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 922, in pipeline
77
  config = AutoConfig.from_pretrained(
78
  model, _from_pipeline=task, code_revision=code_revision, **hub_kwargs, **model_kwargs
79
  )
80
- File "/tmp/.cache/uv/environments-v2/49326666076cd0f9/lib/python3.13/site-packages/transformers/models/auto/configuration_auto.py", line 1332, in from_pretrained
81
- config_dict, unused_kwargs = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs)
82
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
83
- File "/tmp/.cache/uv/environments-v2/49326666076cd0f9/lib/python3.13/site-packages/transformers/configuration_utils.py", line 662, in get_config_dict
84
- config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs)
85
- ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
86
- File "/tmp/.cache/uv/environments-v2/49326666076cd0f9/lib/python3.13/site-packages/transformers/configuration_utils.py", line 721, in _get_config_dict
87
- resolved_config_file = cached_file(
88
- pretrained_model_name_or_path,
89
- ...<10 lines>...
90
- _commit_hash=commit_hash,
91
  )
92
- File "/tmp/.cache/uv/environments-v2/49326666076cd0f9/lib/python3.13/site-packages/transformers/utils/hub.py", line 322, in cached_file
93
- file = cached_files(path_or_repo_id=path_or_repo_id, filenames=[filename], **kwargs)
94
- File "/tmp/.cache/uv/environments-v2/49326666076cd0f9/lib/python3.13/site-packages/transformers/utils/hub.py", line 543, in cached_files
95
- raise OSError(
96
- ...<2 lines>...
97
- ) from e
98
- OSError: You are trying to access a gated repo.
99
- Make sure to have access to it at https://huggingface.co/facebook/sam3.
100
- 403 Client Error. (Request ID: Root=1-6920112d-02f276c612d61ea06144748e;8deb94ce-479f-4235-889b-c1e683c25aff)
101
 
102
- Cannot access gated repo for url https://huggingface.co/facebook/sam3/resolve/main/config.json.
103
- 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.
 
7
 
8
  ERROR:
9
  Traceback (most recent call last):
10
+ File "/tmp/.cache/uv/environments-v2/49326666076cd0f9/lib/python3.13/site-packages/transformers/models/auto/configuration_auto.py", line 1360, in from_pretrained
11
+ config_class = CONFIG_MAPPING[config_dict["model_type"]]
12
+ ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
13
+ File "/tmp/.cache/uv/environments-v2/49326666076cd0f9/lib/python3.13/site-packages/transformers/models/auto/configuration_auto.py", line 1048, in __getitem__
14
+ raise KeyError(key)
15
+ KeyError: 'sam3_video'
16
 
17
+ During handling of the above exception, another exception occurred:
18
 
19
  Traceback (most recent call last):
20
+ File "/tmp/facebook_sam3_1foDzDb.py", line 26, in <module>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  pipe = pipeline("mask-generation", model="facebook/sam3")
22
  File "/tmp/.cache/uv/environments-v2/49326666076cd0f9/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 922, in pipeline
23
  config = AutoConfig.from_pretrained(
24
  model, _from_pipeline=task, code_revision=code_revision, **hub_kwargs, **model_kwargs
25
  )
26
+ File "/tmp/.cache/uv/environments-v2/49326666076cd0f9/lib/python3.13/site-packages/transformers/models/auto/configuration_auto.py", line 1362, in from_pretrained
27
+ raise ValueError(
28
+ ...<8 lines>...
 
 
 
 
 
 
 
 
29
  )
30
+ ValueError: The checkpoint you are trying to load has model type `sam3_video` but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date.
 
 
 
 
 
 
 
 
31
 
32
+ You can update Transformers with the command `pip install --upgrade transformers`. If this does not work, and the checkpoint is very new, then there may not be a release version that supports this model yet. In this case, you can get the most up-to-date code by installing Transformers from source with the command `pip install git+https://github.com/huggingface/transformers.git`