如何安装旧版本的pytorch

mrg*_*oom 5 python pip 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
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
Run Code Online (Sandbox Code Playgroud)

如何安装旧版本的pytorch?

abc*_*abc 5

pip install torch==

Collecting torch==
Run Code Online (Sandbox Code Playgroud)

错误:找不到满足 torch== 要求的版本(来自版本:0.1.2、0.1.2.post1、0.4.1、1.0.0、1.0.1、1.0.1.post2、1.1.0)错误:找不到 torch== 的匹配发行版

这意味着0.2版本不可用

您可以下载特定版本(轮子似乎可用)并安装它pip install