20220721yoloV5调试过程

问题1,安装不上pycocotools库

解决:下载库文件后自行添加到libs中,可参照windows如何安装pycocotools_Everything_changes的博客-CSDN博客_windows安装pycocotools

问题2,报错AttributeError: Can't get attribute 'SPPF' on <module 'models.common' from 'E:\\1zhuoying\\code_yolov5-master\\yolov5-5.0\\models\\common.py'>

解决:找到common文件后输入代码,可参照(15条消息) AttributeError: Can‘t get attribute ‘SPPF‘ on <module ‘models.common‘ from ‘model\\common.py‘_虚拟指尖的博客-CSDN博客

问题3,upsampling.py的forward函数报错

解决:(16条消息) AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘报错处理_hansenblood的博客-CSDN博客h

环境安装了两天今天终于跑出了测试,小小纪念一下!

 


版权声明:本文为weixin_42148969原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。