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

1 visualización (últimos 30 días)
Tripoli Settou
Tripoli Settou el 22 de Feb. de 2018
Comentada: Brahim HAMADICHAREF el 15 de Feb. de 2024
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?

Respuestas (1)

Joss Knight
Joss Knight el 9 de Mzo. de 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);

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by