Is it possible to save results after every epoch? so that if there is some issue with power i can continue my training from the same point.
3 ビュー (過去 30 日間)
古いコメントを表示
Mamoon ul Hassan Jan
2021 年 10 月 28 日
コメント済み: Mamoon ul Hassan Jan
2021 年 10 月 29 日
i am finetunning alexnet on FER2013
i want to set epoch size 300 but it takes alot of time in which there is a chance that my pc will turn off due to power issue.
so is it possible that i save results or "something" after every epoch so that i can continue my trainning from where it was stoped.
thanks in advance.
0 件のコメント
採用された回答
yanqi liu
2021 年 10 月 28 日
sir,may be use ref https://www.mathworks.com/help/releases/R2021a/deeplearning/ug/resume-training-from-a-checkpoint-network.html
checkpointPath = pwd;
options = trainingOptions('sgdm', ...
'InitialLearnRate',0.1, ...
'MaxEpochs',20, ...
'Verbose',false, ...
'Plots','training-progress', ...
'Shuffle','every-epoch', ...
'CheckpointPath',checkpointPath);
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Parallel and Cloud についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!