Przeglądaj źródła

check_anchors bug fix

5.0
Glenn Jocher 4 lat temu
rodzic
commit
5a50491fa1
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      train.py

+ 1
- 1
train.py Wyświetl plik

@@ -199,7 +199,7 @@ def train(hyp):
tb_writer.add_histogram('classes', c, 0)

# Check anchors
check_anchors(dataset, model=model.model[-1].anchor_grid, thr=hyp['anchor_t'], imgsz=imgsz)
check_anchors(dataset, model=model, thr=hyp['anchor_t'], imgsz=imgsz)

# Exponential moving average
ema = torch_utils.ModelEMA(model)

Ładowanie…
Anuluj
Zapisz