waspinator / pycococreator

Helper functions to create COCO datasets
Apache License 2.0
772 stars 179 forks source link

There should be an option to create RLE or uncompressed RLE in create_annotation_info independent of "is_crowd". #10

Open wangg12 opened 6 years ago

wangg12 commented 6 years ago

@waspinator For example, for coco stuff task, they use RLE format segmentation and is_crowd is set to 0 or unset. If the segmentation in a custom dataset need to be represented by RLE, then it should be independent of "is_crowd", since the evaluation of iou would be wrong in when "is_crowd=True".