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

1 vue (au cours des 30 derniers jours)
Tripoli Settou
Tripoli Settou le 22 Fév 2018
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?

Réponses (1)

Joss Knight
Joss Knight le 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);

Catégories

En savoir plus sur Image Data Workflows dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by