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

1 view (last 30 days)
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?

Answers (1)

Joss Knight
Joss Knight on 9 Mar 2018
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);

Categories

Find more on Image Data Workflows in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!