Why did my LOAD stop working?

조회 수: 3 (최근 30일)
Harold Kidder
Harold Kidder 2014년 5월 28일
댓글: Mostafa Nakhaei 2020년 2월 20일
I have code that makes the following call: [net,~] = LoadDailyNet(option). The function performs the load call: load('WCF\Networks\NorthDailyNet', 'net'). The call worked OK until, suddenly, one day I get the following message: Warning: Could not determine the fields for class network by calling the constructor with no input arguments. The object net has been converted to a structure. To eliminate the conversion create an object of class network before calling LOAD.
I suspect the Administrator may have changed something in the configuration. Before I change my code I want to make sure that this cannot be resolved globally. Other Developers may have done the same thing I did.
  댓글 수: 1
Mostafa Nakhaei
Mostafa Nakhaei 2020년 2월 20일
Have the same issue!!!

댓글을 달려면 로그인하십시오.

답변 (1개)

Steven Lord
Steven Lord 2020년 2월 20일
Did you create, download, etc. a function or class named network that is taking precedence over the definition of the network class in Deep Learning Toolbox? What does this function show?
which -all network
  댓글 수: 1
Mostafa Nakhaei
Mostafa Nakhaei 2020년 2월 20일
Nope for me. But when I open it in my laptob the "net" is imported as network and works fine. When I import from desktop computer it change the network to structure and does not work! Not sure what happened. Both were working fine!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by