필터 지우기
필터 지우기

Error in detect function with fasterRCNNObjectDetector

조회 수: 2 (최근 30일)
Jesus Balado Frias
Jesus Balado Frias 2017년 11월 19일
편집: Jesus Balado Frias 2017년 11월 19일
I have this error when I run:
[bboxes, scores] = detect(detector, img);
Subscript indices must either be real positive integers or logicals.
Error in fasterRCNNObjectDetector/getScoreAssociatedWithLabel (line 637)
scores = allScores(ind)';
Error in fasterRCNNObjectDetector/detect (line 515)
scores = getScoreAssociatedWithLabel(this, labels, allScores);
The detector was trained by me with 4000 samples, when I trained with only 200 samples it did not happend this error.
fasterRCNNObjectDetector with properties:
ModelName: 'car'
Network: [1×1 vision.cnn.FastRCNN]
RegionProposalNetwork: [1×1 vision.cnn.RegionProposalNetwork]
MinBoxSizes: [13 22]
BoxPyramidScale: 2
NumBoxPyramidLevels: 3
ClassNames: {2×1 cell}
MinObjectSize: [13 13]
And the img is:
99x392x3 uint8
Knows someone how to solve it?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Recognition, Object Detection, and Semantic Segmentation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by