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

조회 수: 3 (최근 30일)
sahar alhaddad
sahar alhaddad 2017년 9월 27일
답변: michael scheinfeild 2018년 7월 22일
Hello,
I extracted features by using GoogleNet, but I do not know how to train it to create classifier?
Thanks in advance
  댓글 수: 6
rcjr15
rcjr15 2017년 11월 19일
Yes. I have defined trainingSet.
sahar alhaddad
sahar alhaddad 2017년 11월 20일
what is the error that you have got?

댓글을 달려면 로그인하십시오.

답변 (2개)

Jatin Waghela
Jatin Waghela 2017년 10월 3일
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
Sivaramakrishnan Rajaraman
Sivaramakrishnan Rajaraman 2017년 11월 28일
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 2018년 3월 7일
https://www.mathworks.com/matlabcentral/answers/379635-error-using-activations-with-googlenet-in-r2017b#answer_302390

댓글을 달려면 로그인하십시오.


michael scheinfeild
michael scheinfeild 2018년 7월 22일
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');

카테고리

Help CenterFile Exchange에서 Classification에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by