Weight values from "importCaffeNetwork"
1 回表示 (過去 30 日間)
古いコメントを表示
When running the code snippet for the function "importCaffeNetwork" provided by Matlab 2018b Help, the output is a variable of type "SeriesNetwork with properties: Layers: [7×1 nnet.cnn.layer.Layer]". This variable is similar to the output of the function "importCaffeLayers". Where are the weight values stored? As a .caffemodel file is given to "importCaffeNetwork", it would be expected to obtain the weight values from a pretrained network.
Thanks in advance,
Mario
0 件のコメント
採用された回答
Don Mathis
2019 年 2 月 15 日
The weights are stored in the layers themselves. For example:
>> network.Layers(5)
ans =
FullyConnectedLayer with properties:
Name: 'ip1'
Hyperparameters
InputSize: 2880
OutputSize: 10
Learnable Parameters
Weights: [10×2880 single]
Bias: [10×1 single]
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Deep Learning with Simulink についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!