How to use lr_scheduler

I find the source code has the lr_scheduler file. However, I cannot call the method in this file. How to use it?

1 Like

The LR scheduler has been merged (see pull request)
But, I believe the LR scheduler has not yet been officially released. It will probably be in the next release.

If you really want to use it now, I would suggest you download it and import the class directly from the author’s git repository: lr_scheduler

Check here: Can' t import torch.optim.lr_scheduler