フィルターのクリア

When training a network with "trainNetwork", how to keep the trainable parameters from the begining to the end?

2 ビュー (過去 30 日間)
shuai ma
shuai ma 2021 年 12 月 26 日
回答済み: yanqi liu 2021 年 12 月 27 日
I want to see the 'sgdm' or 'adam' trace on the loss surface, the network at each iteration is needed? how can I keep the network at each iteration when training?

回答 (1 件)

yanqi liu
yanqi liu 2021 年 12 月 27 日
yes,sir,may be set options to train,such as
options = trainingOptions('sgdm', ...
'MaxEpochs',20,...
'InitialLearnRate',1e-4, ...
'Verbose',false, ...
'Plots','training-progress');
[tnet,tinfo] = trainNetwork(imdsTrain,layers,options);
after train,we can get the train information in tinfo struct

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by