Hi, I am fairly new to pytorch and I am trying to implement a basic CNN. One of the things that I dont know how to do is set different learning rates for each layer and set independent learning rates for each parameter (weight, bias).
My attempt is:
optim.Adam([{'params': net.conv1.weight, 'lr': 1e-3}, {'params':net.conv1.bias, 'lr': 1e-4}])

Is this the right approach to setting independent learning rates for parameters?