How to install older version of pytorch(如何安装旧版本的pytorch)
问题描述
按照这个https://pytorch.org/get-started/previous-versions/#via-pip
pip install torch==0.2.0_4 -f https://download.pytorch.org/whl/cpu/stable收集火炬==0.2.0_4找不到满足要求的版本 torch==0.2.0_4(来自版本:0.1.2、0.1.2.post1、0.3.1、0.4.0、0.4.1、1.0.0、1.0.1、1.0.1.post2, 1.1.0)找不到与 torch==0.2.0_4 匹配的分布如何安装旧版本的pytorch?
pip install torch==收集火炬==<块引用>
错误:找不到满足要求的版本 torch==(来自版本:0.1.2、0.1.2.post1、0.4.1、1.0.0、1.0.1、1.0.1.post2、1.1.0)错误:找不到与火炬匹配的分布==
这意味着0.2版本不可用
您可以下载特定版本(wheels 似乎可用)并安装它使用 pip install
Following this https://pytorch.org/get-started/previous-versions/#via-pip
pip install torch==0.2.0_4 -f https://download.pytorch.org/whl/cpu/stable
Collecting torch==0.2.0_4
Could not find a version that satisfies the requirement torch==0.2.0_4 (from versions: 0.1.2, 0.1.2.post1, 0.3.1, 0.4.0, 0.4.1, 1.0.0, 1.0.1, 1.0.1.post2, 1.1.0)
No matching distribution found for torch==0.2.0_4
How to install older version of pytorch?
pip install torch==
Collecting torch==
ERROR: Could not find a version that satisfies the requirement torch== (from versions: 0.1.2, 0.1.2.post1, 0.4.1, 1.0.0, 1.0.1, 1.0.1.post2, 1.1.0) ERROR: No matching distribution found for torch==
This means that version 0.2 is not available
You can download the specific version (wheels seem available) and install it with pip install
这篇关于如何安装旧版本的pytorch的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何安装旧版本的pytorch
基础教程推荐
- 使用大型矩阵时禁止 Pycharm 输出中的自动换行符 2022-01-01
- PermissionError: pip 从 8.1.1 升级到 8.1.2 2022-01-01
- 无法导入 Pytorch [WinError 126] 找不到指定的模块 2022-01-01
- 在同一图形上绘制Bokeh的烛台和音量条 2022-01-01
- 修改列表中的数据帧不起作用 2022-01-01
- 求两个直方图的卷积 2022-01-01
- 在Python中从Azure BLOB存储中读取文件 2022-01-01
- PANDA VALUE_COUNTS包含GROUP BY之前的所有值 2022-01-01
- Plotly:如何设置绘图图形的样式,使其不显示缺失日期的间隙? 2022-01-01
- 包装空间模型 2022-01-01
