when setting verbose=True, the message ‘adjusting learning rate…’ is printed every time the command
schedule.step()

is called.
i want to modify that so only when there is an actual change in lr, it will print the message.
i looked in the source code and found this commad ‘print_lr’ which belongs to the base class i think.
i don’t understand how can i call it from my own code, say everytime the scheduler actually updates.
what i tried so far:
to manually print results in error
self.schedule.print_lr(True,0,self.schedule.get_last_lr(),0)
prints:
line 113, in print_lr
    ' of group {} to {:.4e}.'.format(group, lr))
TypeError: unsupported format string passed to list.__format__

would appreciate any advice!