Loading and using pretrained networks
8 views (last 30 days)
Show older comments
Chris Underwood
on 9 Nov 2020
Answered: Chris Underwood
on 17 Nov 2020
I'm working with sets of 8 neural networks and when I load them all and try to use them Matlab doesn't recognise them.
1 Comment
Raunak Gupta
on 12 Nov 2020
Hi,
Can you provide the specific code you are using and the error message displayed in the Command Window. This will help in understanding the issue.
Accepted Answer
Raunak Gupta
on 17 Nov 2020
Hi,
From the example mentioned in the follow up, I think the trained network are not saved properly. Let say you have four trained networks in the workspace naming net1, net2, net3, net4. Then to save them in a single matrix you can use
save('networks.mat','net1','net2','net3','net4');
Afterwards if you want to load the networks into the workspace following command can be useful
load networks.mat
This will load all networks separately into the workspace.
0 Comments
More Answers (2)
See Also
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!