updates
This commit is contained in:
parent
0c52cc0106
commit
298463e530
3
train.py
3
train.py
|
@ -193,7 +193,8 @@ def train(cfg,
|
||||||
('Epoch', 'gpu_mem', 'GIoU/xy', 'wh', 'obj', 'cls', 'total', 'targets', 'img_size'))
|
('Epoch', 'gpu_mem', 'GIoU/xy', 'wh', 'obj', 'cls', 'total', 'targets', 'img_size'))
|
||||||
|
|
||||||
# Update scheduler
|
# Update scheduler
|
||||||
scheduler.step()
|
if epoch > 0:
|
||||||
|
scheduler.step()
|
||||||
|
|
||||||
# Freeze backbone at epoch 0, unfreeze at epoch 1 (optional)
|
# Freeze backbone at epoch 0, unfreeze at epoch 1 (optional)
|
||||||
freeze_backbone = False
|
freeze_backbone = False
|
||||||
|
|
Loading…
Reference in New Issue