facebookresearch / Detectron

FAIR's research platform for object detection research, implementing popular algorithms like Mask R-CNN and RetinaNet.
Apache License 2.0
26.21k stars 5.45k forks source link

Filtered roidb entries #982

Closed yakupakkaya closed 4 years ago

yakupakkaya commented 4 years ago

I tried to train a custom dataset and I made annotations by using VIA tool, exported in coco format. All of my inputs are filtered. When I make annotations by using labelimg and convert it into COCO format it worked without error. What could be the reason for that?

yakupakkaya commented 4 years ago

I tried to train a custom dataset and I made annotations by using VIA tool, exported in coco format. All of my inputs are filtered. When I make annotations by using labelimg and convert it into COCO format it worked without error. What could be the reason for that?

I found the problem. Here is a line from the exported annotation file in COCO format by VIA tool . There are two issues with the format;

1-) "image_id": "0" should be "image_id": 0 ------- ineteger's quotation mark needs to be removed. 2-) "segmentation":[[.....]] ---------square paranthesis need to be doubled.

annotationss