Support Binary Mask with transparent SementationMask interface (#473)
* support RLE and binary mask * do not convert to numpy * be consistent with Detectron * delete wrong comment * [WIP] add tests for segmentation_mask * update tests * minor change * Refactored segmentation_mask.py * Add unit test for segmentation_mask.py * Add RLE support for BinaryMaskList * PEP8 black formatting * Minor patch * Use internal that handles 0 channels * Fix polygon slicing
Showing
tests/test_segmentation_mask.py
0 → 100644
想要评论请 注册 或 登录