필터 지우기
필터 지우기

Neural Network Checkpoints only every 'N' Epochs??

조회 수: 7 (최근 30일)
J
J 2018년 10월 16일
In the MATLAB documentation for Deep Learning Toolbox (formerly Neural Network Toolbox) we see that we can use trainingOptions with a 'CheckpointPath' to save checkpoints during training.
While better than no checkpoints, this doesn't seem very flexible since it forces one to save either no checkpoints, or save all checkpoints after every epoch. In problems where an epoch takes a long time, this is fine, but a lot of problems rip through epochs and train for 10k or even 100k+ epochs, and I would imagine I'm not the only one who would like to save only every Nth checkpoint on problems like these.
Is there a workaround that isn't a complete hack to write every Nth checkpoint? The only thing I can think of is to use the 'OutputFcn' option in trainingOptions, but you still will write every checkpoint and then you use the OutputFcn to just delete what was just saved except for every Nth time, where you just let the OutputFcn return false. Seems like there should be a better way though...

답변 (0개)

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by