Sigmoid#

class vision_architectures.schedulers.sigmoid.SigmoidScheduler(min_y=0.0, max_y=1.0, min_x=-7, max_x=7)[source]#

Bases: object

__init__(min_y=0.0, max_y=1.0, min_x=-7, max_x=7)[source]#
set_num_steps(num_steps)[source]#
is_ready()[source]#
is_completed()[source]#
get()[source]#
step()[source]#
class vision_architectures.schedulers.sigmoid.SigmoidLR(optimizer, min_lr, max_lr, total_steps, min_x=-3.0, max_x=3.0, last_epoch=-1, verbose='deprecated')[source]#

Bases: LRScheduler

__init__(optimizer, min_lr, max_lr, total_steps, min_x=-3.0, max_x=3.0, last_epoch=-1, verbose='deprecated')[source]#
get_lr()[source]#

Compute learning rate using chainable form of the scheduler.

step(epoch=None)[source]#

Perform a step.