How to train features that have been extracted by using GoogleNet?

4 visualizaciones (últimos 30 días)
sahar alhaddad
sahar alhaddad el 27 de Sept. de 2017
Respondida: michael scheinfeild el 22 de Jul. de 2018
Hello,
I extracted features by using GoogleNet, but I do not know how to train it to create classifier?
Thanks in advance
  6 comentarios
rcjr15
rcjr15 el 19 de Nov. de 2017
Yes. I have defined trainingSet.
sahar alhaddad
sahar alhaddad el 20 de Nov. de 2017
what is the error that you have got?

Iniciar sesión para comentar.

Respuestas (2)

Jatin Waghela
Jatin Waghela el 3 de Oct. de 2017
If I understood you correctly, you would like to transfer learning to retrain GoogLeNet to create a classifier.
Please refer to the below documentation link which gives more information on Pretrained GoogLeNet convolutional neural network:
  7 comentarios
Sivaramakrishnan Rajaraman
Sivaramakrishnan Rajaraman el 28 de Nov. de 2017
Has anyone tried to extract features from layers other than pool5-drop_7*7_s1? If so what is the syntax?
umit kacar
umit kacar el 7 de Mzo. de 2018
https://www.mathworks.com/matlabcentral/answers/379635-error-using-activations-with-googlenet-in-r2017b#answer_302390

Iniciar sesión para comentar.


michael scheinfeild
michael scheinfeild el 22 de Jul. de 2018
use some layer as the feature . then you can use it for other classifier
net = googlenet;
inputSize = net.Layers(1).InputSize;
imds = imageDatastore(dbpathSave)
augimdsTrain = augmentedImageDatastore(inputSize(1:2),imds );
%%Extract Image Features
layer = 'loss3-classifier';%1000
featuresTrain = activations(net,augimdsTrain,layer,'OutputAs','rows');

Community Treasure Hunt

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

Start Hunting!

Translated by