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

Improve point plotting behavior for ground truth with no scores. #879

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bw4sz
Copy link
Collaborator

@bw4sz bw4sz commented Jan 9, 2025

The current behavior fails if you have ground truth that don't have a 'scores' column. Which makes no sense, since ground truth don't have confidence scores, from the model atleast. This behavior was already fixed for boxes and polygons. I added a try except, added a dummy 1 for scores in the dataframe just within the plotting function, and added a test.

@bw4sz bw4sz requested a review from ethanwhite January 9, 2025 18:15
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

Successfully merging this pull request may close these issues.

1 participant