Borrar filtros
Borrar filtros

CNN : error in property 'Name' definition

2 visualizaciones (últimos 30 días)
sally
sally el 20 de Feb. de 2018
Hi, I'm trying to build a Convolutional NN using the following code in MATLAB 2017a: layers = [
imageInputLayer([64 64 1])
convolution2dLayer(5,16,'Padding',1)
reluLayer
maxPooling2dLayer(2,'Stride',2)
convolution2dLayer(3,32,'Padding',1)
reluLayer
maxPooling2dLayer(2,'Stride',2)
convolution2dLayer(3,64,'Padding',1)
reluLayer
fullyConnectedLayer(2)
softmaxLayer
classificationLayer];
but an error appears:
The definition of property 'Name' in class 'nnet.cnn.layer.MaxPooling2DLayer' differs from its
definition in the superclass 'nnet.cnn.layer.Layer'. This is caused by either conflicting access
permissions or differing values of the Constant attribute.
Error in maxPooling2dLayer (line 58)
inputArguments = nnet.cnn.layer.MaxPooling2DLayer.parseInputArguments(varargin{:});
and if i deleted the inputimagelayer, the error repeats with every layer.. what could be done wrong? I opened the internal built-in function once to check the code, but changed nothing

Respuestas (0)

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by