facebookresearch / facebookresearch/segment-anything

Potential Bugs for the Point Postion Prompting

Open
#296 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
54.9k
Forks
6.4k
PR merge metrics
No merged PRs in 30d

Description

Hello Meta Research Team,

First of all, thanks for open-sourcing such great work, which is really beneficial for the whole community! When I read the code line by line, I found one place a bit confusing. When I go through the amg.py, I found when you generate the coordinates, you are multiplying the normalized coordinates with the new image size without padding (e.g. 1024, 972). Then when you generate the point embedding, you normalize the transformed coordinates with the image size that has padding (1024, 1024). Would this slightly influence the performance?
Look forward to your reply!

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.