Error using concatenationLayer Cannot define property 'Name'
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
José Enrique Almanza Medina
am 27 Jul. 2020
Kommentiert: José Enrique Almanza Medina
am 30 Jul. 2020
Hello,
I am trying to define a concatenation layer in Matlab 2020a but I get the following error:
Error using concatenationLayer Cannot define property 'Name' in class 'concatenationLayer' because the property has already been defined in the superclass 'Layer'.
I get the same error even using the simple command from the help from matlab
concat = concatenationLayer(4,2,'Name','concat')
This is strange, because I have been using this command since version 2019a but now that I migrated to 2020a I get the error.
I hope anyone can help me to fix this issue.
Best regards,
José
0 Kommentare
Akzeptierte Antwort
Harsha Priya Daggubati
am 30 Jul. 2020
Bearbeitet: Harsha Priya Daggubati
am 30 Jul. 2020
Hi,
Did you try using a new layer name other than 'concat', as the error mentions the name has already been used in a superclass.
I tried to work the same at my end, it works completely fine for me.
If the problem still persists, try using the following commands and retry your work.
rehash toolbox
rehash toolboxcache
7 Kommentare
Harsha Priya Daggubati
am 30 Jul. 2020
Hi,
Can you just give a try with this command:
which concatenationLayer
This will be the expected output for the above command:
'C:\Program Files\MATLAB\R2020a\toolbox\nnet\cnn\concatenationLayer.m'
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!