how to solve "Dot Indexing not supported for this type of variable" error
1 view (last 30 days)
Show older comments
I trained a Faster R-CNN network by following the trainfasterrcnn page but i am unable to test the network as i get the error below
"Dot indexing is not supported for variables of this type.
Error in fasterRCNNObjectDetector/parseDetectInputs (line 713)
networkInputSize = this.Network.Layers(this.LayerIndices.ImageLayerIdx).InputSize;
Error in fasterRCNNObjectDetector/detect (line 441)
params = this.parseDetectInputs(I, varargin{:});"
% load training data
load('FiveClassesTraining.mat');
TestImg = imread(trainingData.Imagefilename{70});
figure
imshow(TestImg)
% Run the detector
[bboxes,scores] = detect(detector,TestImg);
% Annotate detections in the image.
TestImg = insertObjectAnnotation(TestImg,'rectangle',bboxes,scores);
figure
imshow(TestImg)
3 Comments
Answers (1)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!