Ground Truth/ LabelData array Error?
8 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!