facebookresearch / facebookresearch/sam2

The differences between the prompt encoder in SAM2 and SAM

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

Hello. I am wondering about the purpose of the code on Line99 & Line100, which is not present in original SAM prompt encoder.
https://github.com/facebookresearch/segment-anything-2/blob/82b026cd5578af78757323ab99a0b5c8dc456cff/sam2/modeling/sam/prompt_encoder.py#L99-L100

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.