Dear Altruists,
I was trying this example: https://www.mathworks.com/help/deeplearning/examples/train-deep-learning-network-to-classify-new-images.html for deep learning using googlenet.But its showing me error which is "Undefined function or variable 'findLayersToReplace' " in this two lines
[learnableLayer,classLayer] = findLayersToReplace(lgraph);[learnableLayer,classLayer]
I have tried this lines in the command prompt
edit(fullfile(matlabroot,'examples','nnet','main','freezeWeights.m'))edit(fullfile(matlabroot,'examples','nnet','main','createLgraphUsingConnections.m'))edit(fullfile(matlabroot,'examples','nnet','main','findLayersToReplace.m'))
But i'm not getting any fruitfull result…
Please help me creating the function of findLayersToReplace.
Thanks in advance.
Best Answer