yolov5/v7训练报错build target indices.append((b, a, gj.clamp_(0, gain[3] - 1), gi.clamp_(0, gain[2] - 1)
torch1.12.0运行yolov56.0版本时报错:buildtargetindices.append((b,a,gj.clamp_(0,gain[3]-1),gi.clamp_(0,gain[2]-1)))#image,anchor,gridindicesruntimeerror:resulttypefloatcan’tbecasttothedesiredoutputtypelongint解