You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "C:\contest\AICUP_Baseline_BoT-SORT-main\yolov7\train.py", line 613, in
train(hyp, opt, device, tb_writer)
File "C:\contest\AICUP_Baseline_BoT-SORT-main\yolov7\train.py", line 366, in train
loss, loss_items = compute_loss_ota(pred, targets.to(device), imgs) # loss scaled by batch_size
File "./yolov7\utils\loss.py", line 585, in call
bs, as_, gjs, gis, targets, anchors = self.build_targets(p, targets, imgs)
File "./yolov7\utils\loss.py", line 677, in build_targets
b, a, gj, gi = indices[i]
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
Rzerooooo
changed the title
Fine-tune YOLOv7 for AICUP
list index out of range
May 14, 2024
在跑第50個epco中出現以下錯誤
Traceback (most recent call last):
File "C:\contest\AICUP_Baseline_BoT-SORT-main\yolov7\train.py", line 613, in
train(hyp, opt, device, tb_writer)
File "C:\contest\AICUP_Baseline_BoT-SORT-main\yolov7\train.py", line 366, in train
loss, loss_items = compute_loss_ota(pred, targets.to(device), imgs) # loss scaled by batch_size
File "./yolov7\utils\loss.py", line 585, in call
bs, as_, gjs, gis, targets, anchors = self.build_targets(p, targets, imgs)
File "./yolov7\utils\loss.py", line 677, in build_targets
b, a, gj, gi = indices[i]
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: