Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the meaning of base_lrs? #16

Open
rosefun opened this issue Aug 27, 2020 · 1 comment
Open

What is the meaning of base_lrs? #16

rosefun opened this issue Aug 27, 2020 · 1 comment

Comments

@rosefun
Copy link

rosefun commented Aug 27, 2020

I don't find the initialization of base_lrs? Does it initialize with 0?

@gauenk
Copy link

gauenk commented Sep 11, 2020

This is defined in the base class _LRScheduler (c.f. see here). The base_lrs by default takes the "lr" parameter set by the optimizer (c.f. see here). I believe the "lr" is usually contained in the "defaults" field of the optimizer, so it is not explicitly set.

So you can initialize it to whatever when you create your optimizer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants