Commit 2a1cec4
support using bitmask with LSJ
Summary:
`polygons_to_bitmask` fails with empty polygon which could happen with LSJ.
Pull Request resolved: fairinternal/detectron2#564
Reviewed By: HannaMao
Differential Revision: D31181422
Pulled By: ppwwyyxx
fbshipit-source-id: 5f955e04518bae153401df0760840f5daf0da66a1 parent be945b3 commit 2a1cec4
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
0 commit comments