Open ausk opened 4 years ago
ERROR: detectron2 0.3+cu101 has requirement pycocotools>=2.0.2, but you'll have pycocotools 2.0 which is incompatible.
am geting this error
RLE encode()
only supports binary masks. You should convert the masks to binary by gray[gray>0]=1
and then it will produce correct results.
Hello, When I install pycocotools 2.0.2 from pypi, and call
pycocotools.mask.toBbox
, it return wrong result.Here is a simple test:
[OK]
2.0.0
returns(448, 448) [ 56. 151. 304. 274.]
[ERROR]2.0.1/2.0.2
returns(448, 448) [ 56. 0. 304. 448.]