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