I am using optimizer.add_param_group() to add parameters to be optimized as and when needed. During training I would like to change the learning rates of different parameter groups in different ways.
One way to do this is to remember the order in which they were added and use that ordering/ID to modify the learning rates.
I was wondering if I can name the param_groups so that I can modify learning rates by accessing them through their names?