GroundingDINO icon indicating copy to clipboard operation
GroundingDINO copied to clipboard

The model performed poorly

Open root12321 opened this issue 1 year ago • 1 comments

when i use the offical model ,the results is poor

the code is : python demo/inference_on_a_image.py -c groundingdino/config/GroundingDINO_SwinT_OGC.py -p ./weights/groundingdino_swint_ogc.pth -i .asset/cats.png -o output -t "dog"

show me this result: image

why prompt result is so poor?

root12321 avatar Nov 29 '23 09:11 root12321

I think you just have to increase the threshold of the boxes and it should give you better performance.

If that still doesnt work, try using the larger grounding dino variant, I believe you are using the smaller one

johnwick123f avatar Dec 12 '23 21:12 johnwick123f