环境配置出现的小问题以及解决方案
- 1、WARNING: Ignoring invalid distribution -orch (d:\ruanjian\anaconda\b\lib\site-packages)
- 2、WARNING: Error parsing requirements for soupsieve: [Errno 2] No such file or directory:
- 3、运行YOLOv5出现报错找不到SPPF错误,进行解决AttributeError: Can‘t get attribute ‘SPPF‘ on <module ‘models.common‘ from
- 4、AttributeError: 'Upsample' object has no attribute 'recompute_scale_factor'
- 5、The size of tensor a (80) must match the size of tensor b (56) at non-singleton dimension 3
这些问题均出现在在GitHub上下载配环境出现的问题,解决方案均在pycharm种的控制台进行输入命令行
1、WARNING: Ignoring invalid distribution -orch (d:\ruanjian\anaconda\b\lib\site-packages)
- 把目录文件夹下带有波浪号的文件删
WARNING: Ignoring invalid distribution -illow (c:\users\gslyz\appdata\local\programs\python\python39\lib\site-packages)
WARNING: Ignoring invalid distribution -illow (c:\users\gslyz\appdata\local\programs\python\python39\lib\site-packages)
除
2、WARNING: Error parsing requirements for soupsieve: [Errno 2] No such file or directory:
- WARNING: Error parsing requirements for soupsieve: [Errno 2] No such file or directory: ‘d:\program files (x86)\anaconda\envs\pytorch\lib\site-packages\soupsieve-2.3.2.post1.dist-info\METADATA’
WARNING: Error parsi

最低0.47元/天 解锁文章
2万+

被折叠的 条评论
为什么被折叠?



