unrecognized function or variable when working with pre-trained network?
13 ビュー (過去 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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/290833/image.png)
here is the layers_1 i exported from DeepNetworkDesigner:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/290834/image.png)
after i Run the project, the layers_1 will disappear:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/290835/image.png)
5 件のコメント
Walter Roberson
2020 年 5 月 7 日
I recommend getting rid of the line
clear all; close all; clc;
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
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 Center および File Exchange で Image Data Workflows についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!