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

Output class names return ungiven classes #50

Open
CYBruce opened this issue Sep 20, 2024 · 0 comments
Open

Output class names return ungiven classes #50

CYBruce opened this issue Sep 20, 2024 · 0 comments

Comments

@CYBruce
Copy link

CYBruce commented Sep 20, 2024

Following the clearly-written README, I implemented the model successfully.
However, for my cases, I found some problems.
I used the code grounded_sam2_local_demo.py and the prompt is "car . bike . people . parking sign . parking entrance sign ."
But the return json file give some ungiven classes such as "sign entrance sign", "entrance sign"(seems like combinations of prompt words). And sometimes, void class name "" is output.

image

I want to ask if only classes in the prompt will be labeled by the model. If the question is true, where are the results like "sign entrance sign" coming from? Is this problem related to BOX_THRESHOLD and TEXT_THRESHOLD parameters in the code?

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

1 participant