yolov5运行报错之RuntimeError: The size of tensor a (80) must match the size of tensor b (56) at.....

错误:RuntimeError: The size of tensor a (80) must match the size of tensor b (56) at non-singleton dimension 3

如图:

解决方法:https://github.com/ultralytics/yolov5/releases/download/v5.0/yolov5s.pt

下载之后替换yolov5文件中的yolov5s.pt

你可能感兴趣的:(yolov5,深度学习,人工智能)