How do you access weights generated from trainNetwork in each convolution layer in a CNN

How do you access weights generated from trainNetwork in each convolution layer in a Convolution Neural Network?

1 件のコメント

deepika s
deepika s 2021 年 8 月 12 日
w1 = net.Layers(2,1).Weights; // for layer 1 conv_1 weights

サインインしてコメントする。

 採用された回答

Shivam Sardana
Shivam Sardana 2019 年 6 月 12 日

0 投票

Click on network object from trainNetwork function in Workspace, then click on Layers. On clicking it, you will be able to see all layers in your network. Click on a specific convolution layer and then you will be able to see Weights property.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by