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

Some Empty Labels or Labels with Multiple Classes #354

Open
willjhliang opened this issue Aug 10, 2024 · 0 comments
Open

Some Empty Labels or Labels with Multiple Classes #354

willjhliang opened this issue Aug 10, 2024 · 0 comments

Comments

@willjhliang
Copy link

willjhliang commented Aug 10, 2024

Using the Huggingface API with AutoProcessor, AutoModelForZeroShotObjectDetection, and post_process_grounded_object_detection() (following Grounded SAM 2), I receive some empty label strings in the results (results[0]["labels"]) or strings that include 2 classes. My classes are specified as

text = ".".join([
    "pot", "pan", ...
])

I have a few questions:

  1. What are these labels and the boxes associated with them? Do the empty ones not meet the post processing threshold?
  2. What is the common practice with dealing with them? Do we simply discard these boxes?
  3. How are multiple classes assigned to the box?

Thank you very much!

@willjhliang willjhliang changed the title Some Empty Labels Some Empty Labels or Labels with Multiple Classes Aug 11, 2024
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