필터 지우기
필터 지우기

Error: Dot indexing is not supported for variables of this type.

조회 수: 3 (최근 30일)
new_user
new_user 2021년 12월 1일
편집: Walter Roberson 2021년 12월 1일
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);

채택된 답변

Walter Roberson
Walter Roberson 2021년 12월 1일
편집: Walter Roberson 2021년 12월 1일
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개)

카테고리

Help CenterFile Exchange에서 Entering Commands에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by