Upload facebook_sam3_1.txt with huggingface_hub
Browse files- facebook_sam3_1.txt +1 -32
facebook_sam3_1.txt
CHANGED
|
@@ -1,32 +1 @@
|
|
| 1 |
-
|
| 2 |
-
# Use a pipeline as a high-level helper
|
| 3 |
-
from transformers import pipeline
|
| 4 |
-
|
| 5 |
-
pipe = pipeline("mask-generation", model="facebook/sam3")
|
| 6 |
-
```
|
| 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_1dBL569.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`
|
|
|
|
| 1 |
+
Everything was good in facebook_sam3_1.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|