Saving a trained CNN after training
18 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Malayappan Shridhar
el 16 de Mzo. de 2020
Comentada: Malayappan Shridhar
el 13 de Jul. de 2020
I am running a digit classification CNN in Matlab. After training I wish to save the network for future use in other applications. I tried the following commands:
filename = 'malsCNN_digit.mat';
save (filename);
This gives me an error. I then tried
newNet = net;
save newNet.
I get an error again. Frankly I am not sure why I am getting errors. Help is appreciated
1 comentario
Respuestas (1)
Uttiya Ghosh
el 18 de Jun. de 2020
Hi Malayappan,
From my understanding you want to save a digit classification CNN (with the name net) as malsCNN_digit.mat for future use in other applications. You can use the following code to save it. After the code is successfully excetued, malsCNN_digit.mat will be created in your working directory which will contain your network with the name as net.
save('malsCNN_digit.mat', 'net');
For more information, refer to the following links.
Ver también
Categorías
Más información sobre Deep Learning Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!