facebookresearch / facebookresearch/sam2

Sam1 is giving better results in comparision to Sam2

Open
#148 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

So I have had used sam1 and sam2 for image segmentation and compared their results.
The image segmentation done by sam1 is much better than sam2.

Result of sam1:

```
print(len(masks))
```
Output:
```
16
```
![download](https://github.com/user-attachments/assets/e4a713ce-1d5b-4e51-83ad-8d47d5b8c0ba)

Result of sam2:

```
print(len(masks))
```
Output:
```
1

```

![38ce8468-012b-415c-b794-5a1420f7088c](https://github.com/user-attachments/assets/66db4ef2-9ea9-421f-af98-10c5798f30a8)

Please can anyone tell me why there is so much difference in the results from both the models. Also suggest me any possible points that I must take into consideration in order to improve the performance of my sam2 model.

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.