transformers version
Thansk for your great work! I encountered the following bug while using Transformers.
from transformers import Sam3TrackerVideoModel, Sam3TrackerVideoProcessor
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name 'Sam3TrackerVideoModel' from 'transformers' (/media/dell/DATA/miniconda3/envs/sam3/lib/python3.12/site-packages/transformers/init.py)
Which version of the Transformers library includes the Sam3TrackerVideoModel?
Only the main branch for now, we'll have a Sam3-specific release soon
Exactly, as @yonigozlan said you need to install from the github repo like this:
pip install git+https://github.com/huggingface/transformers
We'll update this thread when a specific release is published.
Exactly, as @yonigozlan said you need to install from the github repo like this:
pip install git+https://github.com/huggingface/transformersWe'll update this thread when a specific release is published.
After installing, i get a problem of:
>>> from transformers import Sam3Processor
ImportError: cannot import name 'DTensor' from 'transformers.integrations.tensor_parallel' (/home/miniconda3/envs/my_env/lib/python3.10/site-packages/transformers/integrations/tensor_parallel.py)
This also happens when importing Sam2Processor
It seems that some packages are missing!