-
Notifications
You must be signed in to change notification settings - Fork 786
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 indexing for Object Detection Badloc Score #807
Conversation
Please enter the commit message for your changes. Lines starting
This reverts commit cc0fb47.
Codecov Report
@@ Coverage Diff @@
## master #807 +/- ##
=======================================
Coverage 96.60% 96.60%
=======================================
Files 64 64
Lines 4888 4889 +1
Branches 844 844
=======================================
+ Hits 4722 4723 +1
Misses 85 85
Partials 81 81
|
prediction[3][1][-1] = low_prob # artificially set low probability for box in class. 1 < 2 | ||
label = copy.deepcopy(labels[0]) | ||
_ = compute_badloc_box_scores(labels=[label], predictions=[prediction]) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's nothing to be asserted in this test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are you sure there doesn't need to be analogous unit tests for the swap / overlook issue subtypes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quickfix!
Addresses issue #806