Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import SAMModel,SAMProcessor from hugging face #9

Open
qevr opened this issue Jan 16, 2024 · 2 comments
Open

Import SAMModel,SAMProcessor from hugging face #9

qevr opened this issue Jan 16, 2024 · 2 comments

Comments

@qevr
Copy link

qevr commented Jan 16, 2024

Hi,

Can someone please tell the syntax to load SAMModel,SAMProcessor from hugging face, the library importing step is missing in documentation ?

@czg1225
Copy link
Owner

czg1225 commented Jan 16, 2024

Hi @qevr ,
Sorry for this missing. You can load SamModel and SamProcessor like this:

from transformers import SamModel, SamProcessor

Thanks

@NielsRogge
Copy link

Hi,

This is all explained here right? https://huggingface.co/docs/transformers/model_doc/sam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants