question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Why are the Start and End value multipliers removed from CyclicalScheduler derivatives?

See original GitHub issue

I 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:closed
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
vfdev-5commented, Mar 19, 2019

@iamkucuk I think the problem is that you need to install ignite from master:

pip install git+https://github.com/pytorch/ignite.git

Sorry, our docs reflect master version and not the stable one. See #308

0reactions
vfdev-5commented, Mar 19, 2019

@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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found