facebookresearch / facebookresearch/sam2

Does sam2 have any parameters to adjust the inference result?

Open
#299 3 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

The following is the result I predicted, may I ask if there is any way to improve the result? I have adjusted mask_threshold to -1.0, -0.5,-0.2, and max_hole_area to 1, 20. None of these methods worked.
![f00c906888e8209d50460aecb5821a5](https://github.com/user-attachments/assets/acff350f-d02e-4c88-93b2-b9f26daeb832)
![f0623af7b313738e312a73506e1fe6e](https://github.com/user-attachments/assets/8e16ff52-7165-472a-96a2-5e6bdff954db)
![1725850035726](https://github.com/user-attachments/assets/c27c3cb6-ab3c-45dc-96cf-174f4b31c74a)
![e7aa762c0712c6d29ea66784fe0335b](https://github.com/user-attachments/assets/eb73c14e-89b0-4b5c-8ec3-87788311a367)

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.