maybe you can check the Parameter definition function like：
`def get_1x_lr_params(model):
“”"
This generator returns all the parameters for conv and two fc layers of the net.
“”"
b = [model.conv1, model.conv2, model.conv3a, model.conv3b, model.conv4a, model.conv4b,
model.conv5a, model.conv5b, model.fc6, model.fc7]
for i in range(len(b)):
for k in b[i].parameters():
if k.requires_grad:
yield k
def get_10x_lr_params(model):
“”"
This generator returns all the parameters for the last fc layer of the net.
“”"
# b = [model.fc7]
b = [model.fc8]
for j in range(len(b)):
for k in b[j].parameters():
if k.requires_grad:
yield k
`
Make sure there are no duplicate layers