Why are the Start and End value multipliers removed from CyclicalScheduler derivatives?
See original GitHub issueI was trying to use the cosine annealing scheduler, however I found out the multipliers for start and end values are removed from cyclical scheduler. The examples from the docs seems like not up to date. Why these multipliers are removed from Ignite?
Edit: Further explainations
lr_scheduling_handler = CosineAnnealingScheduler(optimizer, 'lr', lr, lr / 100, len(train_loader), start_value_mult=.1, end_value_mult=.1, save_history=True)
The line of code above gives that error: init() got an unexpected keyword argument ‘start_value_mult’
This shouldn’t be an issue if we look at the corresponding docs page: https://pytorch.org/ignite/contrib/handlers.html#ignite.contrib.handlers.CosineAnnealingScheduler
If we look into source codes of the CyclicalScheduler class, it can be easily seen that start_value_mult and end_value_mult are not there anymore.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top GitHub Comments
@iamkucuk I think the problem is that you need to install ignite from master:
Sorry, our docs reflect
master
version and not the stable one. See #308@iamkucuk in this case you can install as https://github.com/pytorch/ignite/issues/458#issuecomment-474385775
And if you would like to improve our docs by solving #308, this would be highly appreciated by the community 😃
I’ll close this issue as solved, feel free to reopen if something is incomplete.