- 博客(2)
- 收藏
- 关注
原创 Yolov4训练bug 一步真实解决RuntimeError: result type Float can‘t be cast to the desired output type long int
indices.append((b, a, gj.clamp_(0, shape[2] - 1), gi.clamp_(0, shape[3] - 1))) # image, anchor, grid indices 就ok了。在loss.py中用ctrl+F 找到 gain[2:] = torch.tensor(p[i].shape)[[3, 2, 3, 2]] # xyxy gain 这一行。在其上面添加 shape = p[i].shape 如上图所添加的一样。
2023-06-12 16:35:02 136
原创 yolov7训练测试bug之一:subprocess.CalledProcessError: Command ‘git tag’ returned non-zero exit stat
yolov7bug
2022-09-13 14:52:11 3904
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人