segment-anything icon indicating copy to clipboard operation
segment-anything copied to clipboard

Potential Bugs for the Point Postion Prompting

Open DerrickXuNu opened this issue 1 year ago • 0 comments

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!

DerrickXuNu avatar Apr 26 '23 18:04 DerrickXuNu