facebookresearch / facebookresearch/sam3

Wrong prediction for absolute vs relative points

Open
#233 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
11.7k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

When using relative points in the sam3_for_sam2_video_task_example Notebook the prediction for the first frame is fine. When using absolute points and rel_coordinates = False, the prediction is somewhere else (not anywhere on the object with the prompt).
I also noticed it for my example that I implemented without the notebook, and for the box prompts it is the same problem (first prediction not even in proximity to the box).

Image

Image

Contributor guide

Open the contributing guide

Research direction

Start with the sam3_for_sam2_video_task_example Notebook and reproduce the first-frame prediction using relative points, absolute points with rel_coordinates = False, and box prompts. Compare where each prompt is placed against the resulting prediction; done means absolute point and box prompts produce first-frame predictions on or near the prompted object.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
computer-vision, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.