Learning Rate Drop Period

6 views (last 30 days)
Hi!
I am using the 'trainNetwork' function for my net training.
Is there any way to set the 'LearnRateDropPeriod' to be less than 1 epoch? I need it to be updated more frequently.
Thanks in advance!

Accepted Answer

Srivardhan Gadila
Srivardhan Gadila on 5 Apr 2020
For most tasks, you can control the training algorithm details using the trainingOptions and trainNetwork functions. If the trainingOptions function does not provide the options you need for your task (for example, a custom learn rate schedule), then you can define your own custom training loop using automatic differentiation.
For an example showing how to train a network with a custom learn rate schedule, see Train Network Using Custom Training Loop.

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!