1,安装和升级
【我的安装环境】
python 3.6.5
GeForce GTX 1080
64位 Windows-10-10.0.17134-SP0
Cuda compilation tools, release 10.0, V10.0.130
cudnn-10.0-windows10-x64-v7.4.2.24
注意:python3.6和Pytorch v1安装是 fastai v1的最低要求:https://github.com/fastai/fastai/blob/master/README.md#installation
否则只能安装 fastai v0.7
开始安装:
# Win 10下需要先安装torch和torchvision,打开https://pytorch.org/get-started/locally/
# 选择系统配置,使用生成的链接进行安装。我的是Python3.6,cuda 10,使用pip安装
# 安装torch, torchvision
pip3 install https://download.pytorch.org/whl/cu100/torch-