-
Notifications
You must be signed in to change notification settings - Fork 129
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
Fix detect unit tests to test false negatives as well #868
Fix detect unit tests to test false negatives as well #868
Conversation
ecb7ef3
to
2f0addb
Compare
- To test false positive, change detect() test from assertIn() to assertEqaul(). - In addition, add false positive test code to some datasets which must have multi candidates from detect(). - Refactor Importer.detect() confidence return logic. - Some addition fixes for dataset format plugins during this work. Signed-off-by: Kim, Vinnam <vinnam.kim@intel.com>
2f0addb
to
12302f8
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## releases/1.1.0 #868 +/- ##
==================================================
+ Coverage 78.49% 78.52% +0.02%
==================================================
Files 206 206
Lines 24939 24961 +22
Branches 5007 5011 +4
==================================================
+ Hits 19577 19601 +24
+ Misses 4236 4235 -1
+ Partials 1126 1125 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
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.
Looks good to me. I have one question, is there any reason to check whether images is under blacklisted folder only for imagenet dataset?
Because |
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.
Thank you for your great work!
Summary
detect() in nature (e.g. kitti).
How to test
This changes includes tests as well.
Checklist
License
Feel free to contact the maintainers if that's a concern.