训练YOLOv7出现的UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the inde

直接点击报错处转到functional文件

训练YOLOv7出现的UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the inde_第1张图片

找到这一处,将indexing=‘ij’加入到return后

你可能感兴趣的:(YOLO,机器学习,计算机视觉,深度学习,目标检测)