Info
此问题已关闭。 请重新打开它进行编辑或回答。
How can I store the output of a deep learning layer to a variable ?
1 次查看(过去 30 天)
显示 更早的评论
Inorder to implement an academic project, I need to use the output of specific layers in a deepnet. The main part of my code goes like this:
dbPath = <path to my image database>;
imds = imageDatastore(dbPath,'IncludeSubfolders', true,'LabelSource','foldernames');
[trainImgs,testImgs] = splitEachLabel(imds,0.6,'randomized');
I = imread(<my image>)
cnnNet = vgg16;
label = classify(cnnNet, I)
Now , I need to work on the outputs of the layer 'fc8' (the final Fully Connected Layer). But i couldn't find how to store the output of a specific layer to a variable. Please help
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!