Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The model performed poorly #257

Open
root12321 opened this issue Nov 29, 2023 · 1 comment
Open

The model performed poorly #257

root12321 opened this issue Nov 29, 2023 · 1 comment

Comments

@root12321
Copy link

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?

@johnwick123f
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants