Public Member Functions | Public Attributes
utils.lr_scheduler.WarmupMultiFactorScheduler Class Reference
Inheritance diagram for utils.lr_scheduler.WarmupMultiFactorScheduler:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __call__
def __init__

Public Attributes

 count
 cur_step_ind
 factor
 step
 warmup
 warmup_lr
 warmup_step

Detailed Description

Reduce learning rate in factor at steps specified in a list

Assume the weight has been updated by n times, then the learning rate will
be

base_lr * factor^(sum((step/n)<=1)) # step is an array

Parameters
----------
step: list of int
    schedule learning rate after n updates
factor: float
    the factor for reducing the learning rate

Definition at line 12 of file lr_scheduler.py.


Constructor & Destructor Documentation

def utils.lr_scheduler.WarmupMultiFactorScheduler.__init__ (   self,
  step,
  factor = 1,
  warmup = False,
  warmup_lr = 0,
  warmup_step = 0 
)

Definition at line 27 of file lr_scheduler.py.


Member Function Documentation

Call to schedule current learning rate

Parameters
----------
num_update: int
    the maximal number of updates applied to a weight.

Definition at line 45 of file lr_scheduler.py.


Member Data Documentation

Definition at line 27 of file lr_scheduler.py.

Definition at line 27 of file lr_scheduler.py.

Definition at line 27 of file lr_scheduler.py.

Definition at line 27 of file lr_scheduler.py.

Definition at line 27 of file lr_scheduler.py.

Definition at line 27 of file lr_scheduler.py.

Definition at line 27 of file lr_scheduler.py.


The documentation for this class was generated from the following file:


rail_object_detector
Author(s):
autogenerated on Sat Jun 8 2019 20:26:31