'Sam3Processor' 'transformers Error

#38
by aniket2025 - opened

I am using the hugguing face code to use sam3 with the bbox as input prompt. I am using transformers as shown in the hugging face repo. The problem lies in the code line:

cannot import name 'Sam3Processor' from 'transformers'

What is the solution for this? I also tried to install transformers from github. It also does not work.

You can try pip install transformers --pre to install the latest transformers version which includes sam3

Sign up or log in to comment