SysCV / sam-hq

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

when use GroundingDINO as the detector #93

Open Ghy1209 opened 10 months ago

Ghy1209 commented 10 months ago

Hi . I want to know when you use the box from the GroundingDINO as the prompt, if only boxes greater than the threshold are used as input?

lkeab commented 10 months ago

hi, please check our evaluation script here

Ghy1209 commented 10 months ago

Thanks for your answer. I mean that in the project of GroundingDINO,If you want to obtain visual results, you should set the box_threshold. I want to know when I use the output box from GroundingDINO, if I can set a box_threshold that only boxes greater than the threshold are used as input? I note that the topk of the GroundingDINO is 100 by default.

lkeab commented 10 months ago

yes, when visualization we only show the bboxes higher than the threshold; when computing AP for quantitative evaluation, we take the top100.