You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[fbsync] Throw warning for empty masks or box tensors on draw_segmentation_masks and draw_bounding_boxes (#5857)
Summary:
* Fixing the IndexError in draw_segmentation_masks
* fixing the bug on draw_bounding_boxes
* Changing fstring to normal string
* Removing unecessary conversion
* Adding test for the change
* Adding a test for draw seqmentation mask
* Fixing small mistake
* Fixing an error in the tests
* removing useless imports
* ufmt
Reviewed By: NicolasHug
Differential Revision: D36760928
fbshipit-source-id: c9acb7854f9f6068d79155aa6975b6224c926cef
Co-authored-by: LEGRAND Matthieu <[email protected]>
Co-authored-by: Nicolas Hug <[email protected]>
0 commit comments