Skip to content

fix: IoU-based instance matching#93

Merged
josafatburmeister merged 2 commits into
mainfrom
fix/iou_based_instance_matching
Apr 19, 2026
Merged

fix: IoU-based instance matching#93
josafatburmeister merged 2 commits into
mainfrom
fix/iou_based_instance_matching

Conversation

@josafatburmeister
Copy link
Copy Markdown
Contributor

@josafatburmeister josafatburmeister commented Apr 19, 2026

Fixes a bug in the instance pointtorch.metrics.instance_segmentation.match_instances_iou: Previously, the matches were determined based on the overlap (i.e., number of true positive points) between predicted and target instances. This could result in incorrect matching in certain edge cases, where the predicted instance with the highest overlap with a target instance was not the instance with the highest IoU with the target instance. To address this issue, matches are now determined based on IoU.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
.../metrics/instance_segmentation/_match_instances.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions
Copy link
Copy Markdown

The documentation for this pull request was deployed at https://ai4trees.github.io/pointtorch/pr93.

@josafatburmeister josafatburmeister merged commit 4da7757 into main Apr 19, 2026
12 checks passed
@josafatburmeister josafatburmeister deleted the fix/iou_based_instance_matching branch April 19, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant