What's the name of the fully connected layers in googlenet?

5 ビュー (過去 30 日間)
Tripoli Settou
Tripoli Settou 2018 年 2 月 22 日
The name of the first and second fully connected layer are 'fc6' & 'fc7' respectively in (Alexnet, VGG16,VGG19). the question is what's the fully connected layer names in googlenet?

回答 (1 件)

Joss Knight
Joss Knight 2018 年 3 月 9 日
net = googlenet;
lg = getLayerGraph(net);
for i = 1:numel(lg.Layers)
name = sprintf('%s_%d', class(lg.Layers{i}), i);
name(1:24) = [];
lg.Layers{i}.Name = name;
end
plot(lg);

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by