-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bug fix: #8131 * The better solution from chhluo * #8136 since we changed the filtering type from mask to indexes, we can no longer use ```keep.any()``` to check, because it does not work at index zero. But we can use ``` if keep.size == 0: if self.keep_empty: return None ``` * add a unit test for filtering PolygonMasks * W293 blank line contains whitespace Co-authored-by: Wenwei Zhang <40779233+ZwwWayne@users.noreply.github.com> Co-authored-by: m.stepanov <m.stepanov@redmadrobot.com>
- Loading branch information
1 parent
ee79605
commit 2b05497
Showing
2 changed files
with
23 additions
and
9 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