CNN : error in property 'Name' definition
조회 수: 2 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Data Workflows에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!