osc.lr_scheduler.exponential_lr_gamma

exponential_lr_gamma(reduction_factor, num_steps)[source]

Helper to compute gamma for ExponentialLR

Parameters
  • reduction_factor – the desired reduction factor after num_steps, i.e. target_lr/start_lr, recommended 0.05

  • num_steps – number of steps in which the reduction factor should be achieved

Returns: