updates
This commit is contained in:
parent
917f9dd248
commit
715c4575bf
2
train.py
2
train.py
|
@ -111,7 +111,7 @@ def train(
|
||||||
for g in optimizer.param_groups:
|
for g in optimizer.param_groups:
|
||||||
g['lr'] = lr
|
g['lr'] = lr
|
||||||
|
|
||||||
# Freeze darknet53.conv.74 layers for first epoch
|
# Freeze darknet53.conv.74 for first epoch
|
||||||
if freeze_backbone:
|
if freeze_backbone:
|
||||||
if epoch == 0:
|
if epoch == 0:
|
||||||
for i, (name, p) in enumerate(model.named_parameters()):
|
for i, (name, p) in enumerate(model.named_parameters()):
|
||||||
|
|
Loading…
Reference in New Issue