facebookresearch / facebookresearch/sam2

sam2 gave the complement of the target object

Open
#446 0 comments 0 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

Hi! I am feeding bounding box to `SAM2ImagePredictor`, but for this specific image, it gives the exact complement of the target object (human). This frame was taken from a video, and all the images before this frame works fine. I was wondering if anyone has any insights into why this might be happening? Thank!

![grounded_sam2_annotated_image_with_mask](https://github.com/user-attachments/assets/10c2387a-7fc4-43dd-aca4-cd9b61d6207e)
for reference, this is a similar frame which works fine
![grounded_sam2_annotated_image_with_mask](https://github.com/user-attachments/assets/b17a161e-8844-47e9-89b6-7a34a64914e6)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.