@ -193,7 +193,8 @@ def train(cfg,
('Epoch', 'gpu_mem', 'GIoU/xy', 'wh', 'obj', 'cls', 'total', 'targets', 'img_size'))
# Update scheduler
scheduler.step()
if epoch > 0:
# Freeze backbone at epoch 0, unfreeze at epoch 1 (optional)
freeze_backbone = False