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 semantic segmentation ingestion. #823

Merged
merged 3 commits into from
Nov 13, 2024

Conversation

czaloom
Copy link
Collaborator

@czaloom czaloom commented Nov 13, 2024

Changes

  • Optimized compute_intermediate_confusion_matrices
    • Results in ~10x speedup when calling add_data on small masks.

@czaloom czaloom self-assigned this Nov 13, 2024
@czaloom czaloom marked this pull request as ready for review November 13, 2024 17:12
)
confusion_matrix[
np.ix_(groundtruth_labels + 1, prediction_labels + 1)
] = intersection_counts
Copy link
Contributor

Choose a reason for hiding this comment

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

nice!

@czaloom czaloom merged commit 582eb93 into main Nov 13, 2024
13 checks passed
@czaloom czaloom deleted the czaloom-lite-semseg-add_data-perf branch November 13, 2024 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants