Skip to content

Hausdorff distance - #213

Merged
neomorphic merged 17 commits into
mainfrom
hausdorff
Jul 2, 2026
Merged

neomorphic merged 17 commits into
mainfrom
hausdorff

Conversation

@yuriyzubov

Copy link
Copy Markdown
Member

Summary

  • Unmatched instances (hallucinated predictions with no GT, or GT objects the model missed entirely) were scored with a fake, crop-size-dependent distance instead of the worst possible score — a crop's own geometry determined how forgiving the penalty was, not anything the model did. They now correctly get inf -> normalized 0.
  • normalize_distance now rescales so the worst possible real (capped) match always floors at a fixed 0.1 across every crop, regardless of geometry.

@yuriyzubov
yuriyzubov requested a review from neomorphic July 2, 2026 21:23

@neomorphic neomorphic left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@neomorphic
neomorphic merged commit 9ccba2e into main Jul 2, 2026
7 checks passed
@neomorphic
neomorphic deleted the hausdorff branch July 2, 2026 21:25
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