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
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!