Change LinearCyclicalScheduler to triangle wave to sawtooth wave#3186
Change LinearCyclicalScheduler to triangle wave to sawtooth wave#3186vfdev-5 merged 14 commits intopytorch:masterfrom
Conversation
triangle to sawtooth
|
Thanks for the PR and opening a corresponding feature request, @sihyeong671 ! |
got it! I think that is a good idea.I will try add optional flag |
add optional flag for triangle and sawtooth wave
- move value error location to __init__ - rename use_legacy to use_sawtooth
…est" This reverts commit 6d10fde.
- add monotonic variable - check Error case
- warmup_duration, monotonic Value Error Check - add test case for linear cyclical scheduler with warmup_duration
vfdev-5
left a comment
There was a problem hiding this comment.
Looks good to me, thanks a lot for the contribution, @sihyeong671 !
Fixes #3185
Description:
Add monotonic variable in LinearCyclicalScheduler
LinearCyclicalScheduler's get_param method is modified
Add Test case LinearCyclicalScheduler ValueError
Add Test case LinearCyclicalScheduler with warmup duration
Check list: