Cyclic¶
-
class
olympus.optimizers.schedules.cyclic.CyclicLR(optimizer, base_lr, max_lr, step_size_up, step_size_down, mode, base_momentum, max_momentum)[source]¶ Bases:
olympus.optimizers.schedules.base.LRScheduleAdapterMethods
get_last_lr()Return last computed learning rate by current scheduler. load_state_dict(state_dict)Loads the schedulers state. print_lr(is_verbose, group, lr[, epoch])Display the current learning rate. state_dict()Returns the state of the scheduler as a dict.defaults epoch get_lr get_space step -
load_state_dict(state_dict)[source]¶ Loads the schedulers state.
- Args:
- state_dict (dict): scheduler state. Should be an object returned
- from a call to
state_dict().
-