unrecognized function or variable when working with pre-trained network?

조회 수: 11 (최근 30일)
what is the reason of that error and how can i fix it.
i loaded network (alexnet) , and exported layer to workspace in matlab but after runing the project, the layers_1 will disappear in workspace!!
thanks for your help.
here is the layers_1 i exported from DeepNetworkDesigner:
after i Run the project, the layers_1 will disappear:
  댓글 수: 5
Walter Roberson
Walter Roberson 2020년 5월 7일
I recommend getting rid of the line
clear all; close all; clc;
Walter Roberson
Walter Roberson 2020년 5월 7일
Your code does not define layers_1 and does not load() it from anywhere. If you had it in your workspace before you ran the script, then it would have been destroyed by the "clear all"

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

채택된 답변

Ameer Hamza
Ameer Hamza 2020년 5월 6일
clear all
deletes all the variables loaded in workspace. It is also unrecommended to add this at top of every script. Remove it to avod deleting any varibles.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by