glenn-jocher
commited on
Commit
•
5a50491
1
Parent(s):
05b8ee5
check_anchors bug fix
Browse files
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, model=model
|
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, thr=hyp['anchor_t'], imgsz=imgsz)
|
203 |
|
204 |
# Exponential moving average
|
205 |
ema = torch_utils.ModelEMA(model)
|