SysCV / sam-hq

Segment Anything in High Quality [NeurIPS 2023]
https://arxiv.org/abs/2306.01567
Apache License 2.0
3.69k stars 223 forks source link

It seems to have no effect, and it is still not identifiable #16

Open g123413927 opened 1 year ago

g123413927 commented 1 year ago

I want to recognize only the glasses, but part of the face is also recognized

https://df5apg8r0m634.cloudfront.net/images/2023/0615/c5c33275b4f08d18108e9f3756ef44f1.png

ymq2017 commented 1 year ago

Hi, I would like to suggest you add some negative points if there are some background regions in the mask output. You can sample some points in the unwanted area and set the corresponding point_label to 0

g123413927 commented 1 year ago

Hi, I would like to suggest you add some negative points if there are some background regions in the mask output. You can sample some points in the unwanted area and set the corresponding point_label to 0

Hello, I did it according to the plan you provided, and it still has no effect

https://df5apg8r0m634.cloudfront.net/images/2023/0619/eede6588c427cb8881b5730207551f2d.png