mmcv/runner/runner.py
def current_lr(self):
        """Get current learning rates.

        Returns:
            list: Current learning rate of all param groups.
        """
        if self.optimizer is None:
            raise RuntimeError(
                'lr is not applicable because optimizer does not exist.')
        return [group['lr'] for group in self.optimizer.param_groups]
def current_lr(self):
        if self.optimizer is None:
            raise RuntimeError(
                'lr is not applicable because optimizer does not exist.')
        return [group['lr'] for group in self.optimizer.param_groups]
def current_lr ( self ) : if self . optimizer is None : raise RuntimeError ( 'lr is not applicable because optimizer does not exist.' ) return [ group [ 'lr' ] for group in self . optimizer . param_groups ]
Get current learning rates.

        Returns:
            list: Current learning rate of all param groups.
Get current learning rates .