【YOLOv5-5.0遇到的错误以及解决办法】

问题一:Images sizes do not match. This will causes images to be display incorrectly in the UI.

 解决办法:图像大小不匹配问题并不影响网络的测试结果,所以可以不用管

问题二:RuntimeError: The size of tensor a (60) must match the size of tensor b (56) at non-single

解决办法:

 首先根据图中地址找到YOLOv5-5.0版本

然后往下翻,找到Assets,再找到需要的相应的权重文件,下载下来

 下载下来放入对应位置,即可运行成功。

问题三:Dataset autodownload failure

解决办法:把下载的coco128数据集和项目yolov5-5.0放在同一级目录中

 问题四:AttributeError: Can't get attribute 'SPPF' on <module 'models.common' from 'D:\\PyCharmProject\\yolov5-5.0\\yolov5-5.0\\models\\common.py'>

解决办法:

运行YOLOv5出现报错找不到SPPF错误,进行解决AttributeError: Can‘t get attribute ‘SPPF‘ on <module ‘models.common‘ from_TT花下人的博客-CSDN博客

问题五:AttributeError: ‘Upsample‘ object has no attribute’recompute_...' 

解决办法:

一步真实解决AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘_attributeerror怎么解决_蓝胖胖▸的博客-CSDN博客

问题六:wandb.errors.UsageError: api_key not configured (no-tty). call wandb.login(key=[your_api_

解决办法:yoloV5训练出错:wandb.errors.UsageError: api_key not configured (no-tty). call wandb.login(key=[your_api__键盘即钢琴的博客-CSDN博客

 API_key输入错误截图:

 输入成功会变成下图这样:

 

 

  • 4
    点赞
  • 16
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值