win10安装PyTorch 1.0

方法1

打开官网

https://pytorch.org/

网站会自动检测本机配置:

win10安装PyTorch 1.0_第1张图片

安装

打开终端,按官网所示,输入命令:

conda install pytorch torchvision -c pytorch

win10安装PyTorch 1.0_第2张图片

测试是否安装成功

import torch

 

查看PyTorch版本

print(torch.__version__)

 

方法2

https://pytorch.org/get-started/previous-versions/

以CUDA9.2为例:

win10安装PyTorch 1.0_第3张图片

win10安装PyTorch 1.0_第4张图片 

方法3

打开网址https://pytorch.org/get-started/previous-versions/,或点击图中方框:

win10安装PyTorch 1.0_第5张图片

下载

进入页面后,点击与电脑匹配的版本,进行下载:

win10安装PyTorch 1.0_第6张图片

安装

测试

win10安装PyTorch 1.0_第7张图片

你可能感兴趣的:(Deep,learning,软件安装)