Ground Truth/ LabelData array Error?

8 visualizaciones (últimos 30 días)
Gavin Guile
Gavin Guile el 14 de Jun. de 2019
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!

Respuestas (0)

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by