yolo问题:RuntimeError: result type Float can‘t be cast to the desired output type __int64 解决办法: loss.py在utils文件夹下,ctrl+f搜索gain,找到gain = torch.ones(7, device=targets.device),将其修改为gain = torch.ones(7, device=targets.device).long(),问题解决