赞
踩
https://pytorch.org/
https://pytorch.org/get-started/previous-versions/
pytorch从链接安装指定版本
pip install http://download.pytorch.org/whl/cu80/torch-0.2.0.post3-cp27-cp27mu-manylinux1_x86_64.whl
注:上述版本为cuda 8.0,python 2.7,torch 0.2.0版本
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple torchvision
# 验证
import torch
import torchvision
print(torch.cuda.is_available())
# pytorch版本查看
import torch
print(torch.__version__)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。