generated from ashleve/lightning-hydra-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
scheduler_config
to control the scheduler step interval
- Loading branch information
1 parent
4ceef9b
commit eb86681
Showing
3 changed files
with
29 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# The unit of the scheduler's step size, could also be 'step'. | ||
# 'epoch' updates the scheduler on epoch end whereas 'step' | ||
# updates it after a optimizer update. | ||
interval: "epoch" | ||
# How many epochs/steps should pass between calls to | ||
# `scheduler.step()`. 1 corresponds to updating the learning | ||
# rate after every epoch/step. | ||
frequency: 1 | ||
# Metric to to monitor for schedulers like `ReduceLROnPlateau` | ||
monitor: "val_loss" | ||
# If set to `True`, will enforce that the value specified 'monitor' | ||
# is available when the scheduler is updated, thus stopping | ||
# training if not found. If set to `False`, it will only produce a warning | ||
strict: True | ||
# If using the `LearningRateMonitor` callback to monitor the | ||
# learning rate progress, this keyword can be used to specify | ||
# a custom logged name | ||
name: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters