rename a network in a loop?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
for num = 1:50
load( fullfile('D:\Checkpoint_AlexNet',MyFolderInfo(num).name));
[~,name,~] = fileparts(MyFolderInfo(num).name);
eval(['net_',name,'=',net,';']);
clear('net');
end
I want to load a Checkpoint of AlexNet, which contains SeriesNetwork variable named net,
and rename the net variable according to the loop. But the code above is wrong.
Could anyone help?
Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Data Workflows finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!