问题描述
我想使用 yolov5。根据{{3}},您应该安装了 Python>=3.8 和 PyTorch>=1.7,以及 YOLOv5 依赖项。
Python 和 pytorch 是最新的:
pip show torch
Version: 1.7.1
python --version
Python 3.9.1
但是当我尝试安装 yolov5 依赖项时,我收到一条错误消息:
pip install -qr https://raw.githubusercontent.com/ultralytics/yolov5/master/requirements.txt
ERROR: Could not find a version that satisfies the requirement torchvision>=0.8.1
ERROR: No matching distribution found for torchvision>=0.8.1
需要更新版本的 torchvision (???)。所以我运行了更新,但是当我检查版本时它没有工作。
pip show torchvision
Version: 0.2.2.post3
-m pip install --upgrade torchvision
pip show torchvision
Version: 0.2.2.post3
安装yolov5 依赖项是否需要torchvision?我该如何前进?我使用的是 Windows 10。
谢谢!
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)