win 10 cuda9 python3.6 安装pytorch

pytorch官网地址:

https://pytorch.org/get-started/locally/

1.win+R 

2.在cmd中输入:pip3 install https://download.pytorch.org/whl/cu90/torch-1.0.1-cp36-cp36m-win_amd64.whl

3.输入:pip3 install torchvision

4.测试:输入:

 

python

import torch

print(torch.__version__)

win 10 cuda9 python3.6 安装pytorch_第1张图片

 

你可能感兴趣的:(pytorch)