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 indexing for Object Detection Badloc Score #807

Merged
merged 9 commits into from
Aug 14, 2023

Conversation

ulya-tkch
Copy link
Contributor

@ulya-tkch ulya-tkch commented Aug 11, 2023

Addresses issue #806

@ulya-tkch ulya-tkch requested a review from jwmueller August 11, 2023 19:14
@codecov
Copy link

codecov bot commented Aug 11, 2023

Codecov Report

Merging #807 (500089c) into master (8373159) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           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           
Files Changed Coverage Δ
cleanlab/object_detection/rank.py 100.00% <100.00%> (ø)

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])

Copy link
Member

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?

Copy link
Member

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?

Copy link
Member

@jwmueller jwmueller left a 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!

@jwmueller jwmueller merged commit 396bd68 into cleanlab:master Aug 14, 2023
tataganesh pushed a commit to tataganesh/cleanlab that referenced this pull request Aug 16, 2023
tataganesh pushed a commit to tataganesh/cleanlab that referenced this pull request Aug 16, 2023
ulya-tkch added a commit to ulya-tkch/cleanlab that referenced this pull request Aug 23, 2023
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.

3 participants