필터 지우기
필터 지우기

Expected LABEL to be nonempty error when running YOLOv2 on my own dataset

조회 수: 3 (최근 30일)
raghad Abdulaziz
raghad Abdulaziz 2020년 2월 12일
댓글: ybec 2022년 2월 18일
hello,
using my own dataset i got this kind of error and i don't know what;s wrong with my dataset? could anyone please explian what does this erorr mean and how can in solve it ?
Error using insertObjectAnnotation
Expected LABEL to be nonempty.
Error in insertObjectAnnotation>checkLabel (line 290)
validateattributes(label, {'numeric'}, ...
Error in insertObjectAnnotation>validateAndParseInputs (line 180)
checkLabel(label);
Error in insertObjectAnnotation (line 123)
validateAndParseInputs(I, shape, position, label, varargin{:});
Error in YOLOv2 (line 153)
I = insertObjectAnnotation(I,'rectangle',bboxes,scores);
  댓글 수: 7
ybec
ybec 2022년 2월 16일
I am getting the same error, but it appears when the image "highway.png" is changed for another one.
I = imread('highway.png');
I = imresize(I,inputSize(1:2));
[bboxes,scores] = detect(detector,I);
ybec
ybec 2022년 2월 18일
Yonathan Zarkovian, I think the error shows up when an image is not what the algorithm is waiting for. I uploaded different kind of images and only similar images to the dataset worked.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Object Programming에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by