Ground Truth/ LabelData array Error?
8 views (last 30 days)
Show older comments
Hey guys! I'm doing some machine learning with matlab and I'm running into a random error.
Basically I'm detecting surgical tools with machine learning and I'm able to successfully detect a 'scalpel,' now I'm adding a 'scissors' to it as well. However, when I add another 44 images to the data store and create ROIs (corner points of a rectangle) from it... upon adding this data to ground truth, I am getting this error:
Error using groundTruth
Expected LabelData to be an array with number of rows equal to 88.
Error in vision.internal.labeler.validation.checkLabelData
I should mention, I have 44 images for 'scalpel' and 44 images for 'scissors' so that is where I assume the 88 is coming from. However, the way LabelData is created, it creates a 44 x 8 cell array with 2 labels (you can see above in my gyazo screenshot what LabelData looks like).
Any and all help is appreciated!
0 Comments
Answers (0)
See Also
Categories
Find more on Matrix Indexing 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!