When training a network with "trainNetwork", how to keep the trainable parameters from the begining to the end?
조회 수: 2 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
답변 (1개)
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
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!