unrecognized function or variable when working with pre-trained network?
Show older comments
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 Comments
Walter Roberson
on 6 May 2020
We need to see your code.
shivan artosh
on 6 May 2020
shivan artosh
on 6 May 2020
Edited: shivan artosh
on 6 May 2020
Walter Roberson
on 7 May 2020
I recommend getting rid of the line
clear all; close all; clc;
Walter Roberson
on 7 May 2020
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"
Accepted Answer
More Answers (0)
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!