Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

add CombinedLearningRateScheduler #4871

Merged
merged 2 commits into from
Dec 19, 2020
Merged

add CombinedLearningRateScheduler #4871

merged 2 commits into from
Dec 19, 2020

Conversation

epwalsh
Copy link
Member

@epwalsh epwalsh commented Dec 18, 2020

Closes #4856. This will allow me to try some other things with VilBERT VQA.

@epwalsh epwalsh requested review from dirkgr and AkshitaB December 18, 2020 01:18
These schedulers are defined though the `schedulers` parameter, which takes a list
of `Tuple[int, Lazy[LearningRateScheduler]]`. The first field of the tuple, the `int`,
specifies how many epochs the corresponding scheduler will be used before the next
scheduler takes its place.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be neat if we could schedule these in a finer-grained way than per epoch, but it'll do. In fact, since we can just define epochs to be arbitrary numbers of steps, this might be all we ever need.

@epwalsh epwalsh merged commit 6a8d425 into master Dec 19, 2020
@epwalsh epwalsh deleted the combined-lr-scheduler branch December 19, 2020 03:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make configuring learning rate schedulers more flexible
2 participants