def schedule_kink(initial_value, second_value):
    """
    Linear learning rate schedule with kink.

    :param initial_value: (float or str)
    :param second_value: (float or str)
    :return: (function)
    """

    def func(progress):
        """
        Progress will decrease from 1 (beginning) to 0
        :param progress: (float)
        :return: (float)
        """
        if progress < 0.5:
            return progress * initial_value + 0
        else:
            return progress * second_value + 1e-4

    return func