Access weights from FC layer in googlenet.

3 views (last 30 days)
I want to plot weights from the final FC layer of GoogLeNet - how can I access the stored parameter information, is it within the DAGNetwork?
Many thanks.

Answers (1)

Astarag Chattopadhyay
Astarag Chattopadhyay on 30 May 2018
Hi Maximilian,
I am assuming you are importing the GoogLeNet by using
net = googlenet;
Here all the information is stored within the DAG network net. Let,s take the example of FullyConnected layer. You can access the weights of the FullyConnected layer by using the following command:
net.Layers(142,1).Weights
Anyway if you double click on the created DAG "net" in MATLAB workspace you would be able to see all the information.

Categories

Find more on Deep Learning Toolbox 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!