forked from facebookresearch/detectron2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
filter_empty_instances with box threshold
Summary: Minor change to enable passing a threshold through filter_empty_instances. Due to floating point issues I had boxes with width 1e-14 that passed the 0 threshold but blew up later. Also fixed the type hinting to float. These are floats. Pull Request resolved: facebookresearch#1198 Reviewed By: rbgirshick Differential Revision: D21030901 Pulled By: ppwwyyxx fbshipit-source-id: 5eedb9c4b801bcb85e5b040cd915628f0ec279e6
- Loading branch information
1 parent
5f7bbed
commit 2c346e0
Showing
3 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters