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

How to set threshold for TP Calculation? #103

Closed
aymuos15 opened this issue Apr 25, 2024 · 2 comments
Closed

How to set threshold for TP Calculation? #103

aymuos15 opened this issue Apr 25, 2024 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@aymuos15
Copy link

Apologies if mentioned already somewhere, but currently the IoU Threshold for TP is set to 0.5 (I think?). How do I change that?

@Hendrik-code Hendrik-code self-assigned this Apr 25, 2024
@Hendrik-code Hendrik-code added the question Further information is requested label Apr 25, 2024
@Hendrik-code
Copy link
Collaborator

If you use a matcher, you need to specify the threshold there:
For the "NaiveThresholdMatching" algorithm, you can find this in panoptica/instance_matcher.py
image

If you start with MatchedInstancePairs and you don't need matching anymore, you can control this variable with the "decision_threshold" and corresponding "decision_metric"

@aymuos15
Copy link
Author

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants