Weight values from "importCaffeNetwork"

조회 수: 1 (최근 30일)
Mario Ferreira
Mario Ferreira 2019년 2월 15일
답변: Don Mathis 2019년 2월 15일
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

채택된 답변

Don Mathis
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개)

카테고리

Help CenterFile Exchange에서 Build Deep Neural Networks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by