Closed yktangac closed 2 years ago
I think the following will be helpful.
Convert compact RLE to polygon format · Issue https://github.com/cocodataset/cocoapi/issues/476
Once you have obtained the results, you can use encode_mask_results
by from mmdet.core import encode_mask_results
to encode the mask to the format of COCO dataset.
Hello, I'm running the mask rcnn with mmdetection modules. How can I get the polygon result in json format. I follow the tutorial from colab and try to get the numerical prediction. What I got is as such :
The output:
bbox_results
segm_results
Somehow, I followed the issue #7049. Since I'm not using the test.py to generate the result, I followed this to convert the np.bool array into compact RLE as such
the segm output as such
I would like to have coco polygon format, what can I do then
Thank You In Advance !