facebookresearch / facebookresearch/sam2

Output Difference Between SAM-base and SAM2.1_hiera_base_plus

Open
#520 0 comments 0 reactions 1 assignee Claimed by @chayryali View on GitHub
Dominant language
Jupyter Notebook
Stars
19.9k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

I noticed a significant difference in the output detail between SAM-base and SAM2.1_hiera_base_plus when using the same settings:
- `pred_iou_thresh: 0.75`
- `stability_score_thresh: 0.75`

SAM-base often produces more detailed output compared to SAM2.1_hiera_base_plus. Is this expected behavior, or should I investigate further? Thank you for your time and assistance!
This is mask generated by SAM-base:
![image](https://github.com/user-attachments/assets/d1248383-a829-4897-abc0-cdbd45c5472c)
And this mask generated by SAM2:
![image](https://github.com/user-attachments/assets/b650febf-3bd8-434a-bd53-0424d5bd3cd8)

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.