Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Command window showing the errror 'Index exceeds matrix dimensions'. How to resolve it? Following is my code if possible resolve the code.

1 Ansicht (letzte 30 Tage)
layers=[ ...
imageInputLayer([566 804 3])
convolution2dLayer([50 50],10,'stride',[6 6],'padding',[0 0])
reluLayer
crossChannelNormalizationLayer(3)
maxPooling2dLayer(5,'stride',[4 4],'padding',[0 0])
convolution2dLayer([50 50],10,'stride',[6 6],'padding',[0 0])
reluLayer
crossChannelNormalizationLayer(3)
maxPooling2dLayer(5,'stride',[4 4],'padding',[0 0])
convolution2dLayer([50 50],10,'stride',[6 6],'padding',[0 0])
reluLayer
crossChannelNormalizationLayer(3)
maxPooling2dLayer(5,'stride',[4 4],'padding',[0 0])
convolution2dLayer([50 50],10,'stride',[1 1],'padding',[1 1])
reluLayer
convolution2dLayer([50 50],10,'stride',[1 1],'padding',[1 1])
reluLayer
convolution2dLayer([50 50],10,'stride',[1 1],'padding',[1 1])
reluLayer
maxPooling2dLayer(5,'stride',[4 4],'padding',[0 0])
fullyConnectedLayer(2)
softmaxLayer
classificationLayer()]
  2 Kommentare
Geoff Hayes
Geoff Hayes am 17 Feb. 2019
Gudivada - which line of code is throwing the error message? Please copy and paste the full error message to this question.

Antworten (1)

Walter Roberson
Walter Roberson am 17 Feb. 2019
Somehow you accidentally assigned a value to a variable named imageInputLayer, so the line of code now refers to the variable, instead of referring to a function with that name.

Diese Frage ist geschlossen.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by