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

2 ビュー (過去 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 Center および File ExchangeClassification についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by