Error: Dot indexing is not supported for variables of this type.
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
new_user
am 1 Dez. 2021
Bearbeitet: Walter Roberson
am 1 Dez. 2021
Dot indexing is not supported for variables of this type.
I have defined the , Feature_Learner = net.Layers(175).Name; (it's not showing any error here) but showing error in the next lines of deiing new layer. Why is that happening?
Error in resnet50(line 30)
New_Network = replaceLayer(Network_Architerture, Feature_Learner.Name, New_Feature_Learner);
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 1 Dez. 2021
Bearbeitet: Walter Roberson
am 1 Dez. 2021
Feature_Learner = net.Layers(175).Name
That already includes the Name component, but in the next line you try to take the Name component of that, which would be like trying net.Layers(175).Name.Name
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Indexing 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!