MobilenetV2-training.py
def adjust_learning_rate(optimizer, epoch):
    """Sets the learning rate to the initial LR decayed by 2 every 30 epochs"""
    lr = lr_rate * (0.5 ** (epoch // 30))
    for param_group in optimizer.param_groups:
        param_group['lr'] = lr
Sets the learning rate to the initial LR decayed by 2 every 30 epochs
Sets the learning rate to the initial LR decayed by 2 every 30 epochs
Sets the learning rate to the initial LR decayed by 2 every 30 epochs
def adjust_learning_rate(optimizer, epoch):
    lr = lr_rate * (0.5 ** (epoch // 30))
    for param_group in optimizer.param_groups:
        param_group['lr'] = lr
def adjust_learning_rate ( optimizer , epoch ) : lr = lr_rate * ( 0.5 ** ( epoch // 30 ) ) for param_group in optimizer . param_groups : param_group [ 'lr' ] = lr
Sets the learning rate to the initial LR decayed by 2 every 30 epochs
Sets the learning rate to the initial LR decayed by 2 every 30 epochs
"""Sets the learning rate to the initial LR decayed by 2 every 30 epochs"""
optimizer
epoch