-
-
Notifications
You must be signed in to change notification settings - Fork 17.2k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
🐛 Bug
A clear and concise description of what the bug is.
utils/loss.py line108
gain[2:6] = torch.tensor(p[i].shape)[[3, 2, 3, 2]] # xyxy gain
for yolov5s.yaml
if i=1
p[i].shape = 3,80,80,85
gain[2:6] = [85, 80, 85, 80]
gain[2:6] = torch.tensor(p[i].shape)[[2, 1, 2, 1]] # xyxy gain
it shoud be [80, 80, 80, 80]
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working