Issues training Mask RCNN on custom data
Show older comments
Hello,
I have been following the Mask RCNN tutorial provided by Matlab, however I have ran into some issues trying to train the model on my own dataset. I have labeled my data using the ImageLabeler app, and then followed the example Export Ground Truth Object to Custom and COCO JSON Files to put the labels in the proper COCO format. I am able to read the new JSON file into the workspace just fine, but it seems to always have issues when I try to unpack the annotations to .mat files using the helper.unpackAnnotations() command. It does not give me an error, but it simply does not unpack the annotations into the 'annotations_unpacked' directory like it says it should.
I have found another post on github discussing the issue but I have not found any suggestions on exactly how to fix this. It seems that my primary problem is that my images only contain a single class per image (but often times multiple instances of that class). From the github post, I see the issue stems from there only being a single class labeled in my images instead of multiple classes like from the example.
I would like to know whether I can edit the unpackAnnotations.m file or the CocoApi.m file to properly unpack the annotations? If so, I would also like to know what needs to be edited in order to achieve this.
I greatly appreciate any help regarding this issue.
Thanks,
Connor
Accepted Answer
More Answers (0)
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!