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

Merged
merged 2 commits into from
Jan 13, 2025

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
Copy link
Member

@ethanwhite ethanwhite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ethanwhite
Copy link
Member

Looks like there's a style error that needs fixing before merge

@ethanwhite
Copy link
Member

Thanks. Just waiting on the tests

@ethanwhite
Copy link
Member

Docs error is independent

@ethanwhite ethanwhite merged commit b8d6428 into main Jan 13, 2025
3 of 4 checks passed
@henrykironde henrykironde deleted the point_plotting_no_scores branch February 1, 2025 02:29
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.

2 participants