Wei Quan commited on
Commit
4c5d9bf
1 Parent(s): daab682

Fix incorrect end epoch comment (#3612)

Browse files
Files changed (1) hide show
  1. train.py +1 -2
train.py CHANGED
@@ -341,8 +341,7 @@ def train(hyp, opt, device, tb_writer=None):
341
  save_dir.glob('train*.jpg') if x.exists()]})
342
 
343
  # end batch ------------------------------------------------------------------------------------------------
344
- # end epoch ----------------------------------------------------------------------------------------------------
345
-
346
  # Scheduler
347
  lr = [x['lr'] for x in optimizer.param_groups] # for tensorboard
348
  scheduler.step()
 
341
  save_dir.glob('train*.jpg') if x.exists()]})
342
 
343
  # end batch ------------------------------------------------------------------------------------------------
344
+
 
345
  # Scheduler
346
  lr = [x['lr'] for x in optimizer.param_groups] # for tensorboard
347
  scheduler.step()