Error using faster RCNN object detection

조회 수: 2 (최근 30일)
Saikat Sarkar
Saikat Sarkar 2018년 9월 27일
편집: Saikat Sarkar 2018년 9월 27일
I am getting below error white trying to detect objects using a trained object detector, please help. Getting the error at the line detect(detector, img).
net=alexnet;
detector = trainFasterRCNNObjectDetector(trainingData, net, options)
[bboxes, scores, label] = detect(detector, img);
Error using activations Expected layer to be a scalar.
Error in vision.cnn.FastRCNN>iValidateAndParseLayerID (line 296) validateattributes(layerIdx, {'numeric'},...
Error in vision.cnn.FastRCNN/internalActivations (line 203) layerID = iValidateAndParseLayerID( layerID, internalLayers );
Error in fasterRCNNObjectDetector/detect (line 482) convmap = internalActivations(this.Network, Iroi, [], ...

답변 (0개)

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by