Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How can I store the output of a deep learning layer to a variable ?

1 vue (au cours des 30 derniers jours)
MUHAMMED IRFAN
MUHAMMED IRFAN le 22 Mai 2018
Clôturé : MATLAB Answer Bot le 20 Août 2021
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

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by