class_docstr: Reduce LR on plateau 
class_docstr_tok: ["Reduce","LR","on","plateau"]
code: def __init__(self, optimizer, warmup_epochs, **kwargs):
      self.warmup_epochs = warmup_epochs
      super().__init__(optimizer, **kwargs)
      self.last_epoch = 0
      self.base_lrs = []
      for group in optimizer.param_groups:
          self.base_lrs.append(group["lr"])
      self.step_rop(self.mode_worse, False, None)
  
imports: from typing import List
  import torch
  from torch.optim.lr_scheduler import _LRScheduler
  from torch.optim.lr_scheduler import ReduceLROnPlateau
label_desc: Use image node_id 1 to create a new ReduceLROnPlateauWarmup object from inherited base classes: ReduceLROnPlateau with example: obj = ReduceLROnPlateauWarmup(optimizer, warmup_epochs)