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

lr_cycle_limit #173

Closed
aivision2020 opened this issue Jun 28, 2020 · 1 comment
Closed

lr_cycle_limit #173

aivision2020 opened this issue Jun 28, 2020 · 1 comment

Comments

@aivision2020
Copy link

in train.py the default value is 1
but when called from /scheduler_factory.py the default value is 0
cycle_limit=getattr(args, 'lr_cycle_limit', 0)
This makes trouble if you use this function not via train.py. it means the default values for this function crash

@rwightman
Copy link
Collaborator

@aivision2020 does it assert in get_cycle_length fn? 0 was supposed to be equivalent to 1 but I clearly didn't test that. Will fix soon. Tx

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