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
基础教程推荐
- 由Python将MP3转换为MIDI(类型错误:无法加载插件:mtg-Melodia:Melodia) 2022-01-01
- 在 Celery 工作人员中捕获 Heroku SIGTERM 以优雅地关 2022-01-01
- numpy float:比算术运算中内置的慢 10 倍? 2022-01-01
- 与常规 dict 相比,Python manager.dict() 非常慢 2022-01-01
- 尝试制作WhatsApp机器人 2022-01-01
- Discord.py 缺少必需的参数 2022-01-01
- pyserial - 可以从线程 a 写入串行端口,是否阻塞从线程 b 读取? 2022-01-01
- 用 Python 编写 Fortran 无格式文件 2022-01-01
- 将 x 轴刻度更改为自定义字符串 2022-01-01
- 使用生成器和迭代器时 Python 多循环失败 2022-01-01
