Closed akorez closed 4 years ago
You did not convert the annotation of your own dataset into COCO format correctly.
Is this the reason for this error? However, if I did not convert it to COCO format, how can I train flawlessly with other models without segmentation?
Also, are there no mask pictures in the COCO database? So after converting annotations to COCO format properly, will I be able to use Mask R-CNN with only RGB images? Thanks...
Please refer to the documentation.
COCO dataset does not have mask images. Masks are encoded and written in the json file. You may refer to the official website of COCO.
Thank you for comment @hellock. The problem is, as you said, I can't translate the annotations into the COCO format. When corrected the annotations, Mask R-CNN worked.
Hi, I want to train with my custom data set and get segmentation output. I converted my data set into COCO data set format. I have edited the Mask R-CNN config file below. My data set consists of json annotations (train and val) and RGB images. But I get the error below. To solve this error, I need to prepare images binary masks or should I do something else?
Note : When I don't use
gt_masks
, I can train flawlessly and get bbox output (e.g. cascade r-cnn), so my data set has no problem in format. However, I need to get segmentation output.