Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

1 Ansicht (letzte 30 Tage)
MUHAMMED IRFAN
MUHAMMED IRFAN am 22 Mai 2018
Geschlossen: MATLAB Answer Bot am 20 Aug. 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

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by