记录一下配置YOLOv5_5.0过程中的报错信息

记录一下配置YOLOv5_5.0过程中的报错信息

  1. AttributeError: Can’t get attribute ‘SPPF’
    把utils/google_utils.py中的链接转换成v5.0 release
 # GitHub assets 
 file.parent.mkdir(parents=True, exist_ok=True)  # make parent dir (if required) 
 try: 
     response = requests.get(f'https://api.github.com/repos/{repo}/releases/latest').json()  # github api 

变成

response = requests.get(f'https://api.github.com/repos/{repo}/releases/tags/v5.0').json()  # github api

你可能感兴趣的:(报错总结,python,开发语言)