Ground Truth/ LabelData array Error?

8 次查看(过去 30 天)
Gavin Guile
Gavin Guile 2019-6-14
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 个)

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

产品


版本

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by