glenn-jocher commited on
Commit
05b8ee5
1 Parent(s): 7c6fd4d

check_anchors() bug fix #102

Browse files
Files changed (1) hide show
  1. train.py +1 -1
train.py CHANGED
@@ -199,7 +199,7 @@ def train(hyp):
199
  tb_writer.add_histogram('classes', c, 0)
200
 
201
  # Check anchors
202
- check_anchors(dataset, anchors=model.model[-1].anchor_grid, thr=hyp['anchor_t'], imgsz=imgsz)
203
 
204
  # Exponential moving average
205
  ema = torch_utils.ModelEMA(model)
 
199
  tb_writer.add_histogram('classes', c, 0)
200
 
201
  # Check anchors
202
+ check_anchors(dataset, model=model.model[-1].anchor_grid, thr=hyp['anchor_t'], imgsz=imgsz)
203
 
204
  # Exponential moving average
205
  ema = torch_utils.ModelEMA(model)