Learning Rate Drop Period

4 visualizzazioni (ultimi 30 giorni)
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!

Risposta accettata

Srivardhan Gadila
Srivardhan Gadila il 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.

Più risposte (0)

Categorie

Scopri di più su Deep Learning Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by