save the neural network output "net" to matfile
1 次查看(过去 30 天)
显示 更早的评论
i wanted to save the neural network output "net" to matfile..... is it possible to do so.... i did like this....
dbFeatures(kk) = net;
kk = kk + 1;
when i process all the images...
i save the dbFeatures as
save dbFeatures dbFeatures
but i'm getting error as
??? The following error occurred converting from network to double:
Error using ==> double
Conversion to double from network is not possible.
Error in ==> TrainDataset at 135
dbFeatures(kk) = net;
please can someone rectify it for me....
0 个评论
采纳的回答
Greg Heath
2013-3-16
I don't know why you are using the term 'features' for describing a net. Nets can be thought of as structures with different sizes. Therefore try using cells:
savednets{kk} = net; . . .
save savednets
However, check if you can load the nets individually, e.g.,
load savednets{2}
If not, save them individually by name
save net2
etc.
Hope this helps
Thank you for formally accepting my answer
Greg
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!