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

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by