updates
This commit is contained in:
parent
a8e1390028
commit
831d2b3dcc
1
train.py
1
train.py
|
@ -86,7 +86,6 @@ def train():
|
||||||
# Optimizer
|
# Optimizer
|
||||||
pg0, pg1, pg2 = [], [], [] # optimizer parameter groups
|
pg0, pg1, pg2 = [], [], [] # optimizer parameter groups
|
||||||
for k, v in dict(model.named_parameters()).items():
|
for k, v in dict(model.named_parameters()).items():
|
||||||
print(k)
|
|
||||||
if '.bias' in k:
|
if '.bias' in k:
|
||||||
pg2 += [v] # biases
|
pg2 += [v] # biases
|
||||||
elif 'Conv2d.weight' in k:
|
elif 'Conv2d.weight' in k:
|
||||||
|
|
Loading…
Reference in New Issue