facebookresearch / facebookresearch/sam2

How to use the Image prediction function in SAM 2 Demo locally?

Open
#468 0 comments 4 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
19.9k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

I've deployed the SAM 2 Demo locally, but how can I use the Image prediction function?

I'm trying to upload an image but has been refused.

![image](https://github.com/user-attachments/assets/1eeddd3e-1ac9-49cf-a927-01098b5cd593)

![image](https://github.com/user-attachments/assets/19ff4076-57ef-4333-a29e-72505caf0bc5)

Contributor guide

Open the contributing guide

Research direction

Review the local SAM 2 Demo setup and the image-prediction workflow described by the screenshots. Reproduce the refused upload with a supported image and document the required usage or configuration; done when local users can upload an image and run prediction.

Written by the indexing model from the issue text.

Assessment

Domain
documentation, machine-learning
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.