本机配置
系统:Win10 64位
显卡:GTX 1060 6GB
CUDA安装前准备
在安装之前一定要先安装VS2017,否则在安装CUDA过程中会报错导致安装无法正常进行下去
VS2017_Community下载链接:https://visualstudio.microsoft.com/zh-hans/downloads/
在安装选项中勾选“C++桌面开发”即可
CUDA安装过程
CUDA下载链接:https://developer.nvidia.com/cuda-10.0-download-archive
CUDA Toolkit Documentation:https://docs.nvidia.com/cuda/archive/10.0/cuda-installation-guide-microsoft-windows/index.html#compiling-examples
注:因为后续还要安装Pytorch,Pytorch目前还不支持CUDA10.1版本,所以选择CUDA10.0进行安装;如图:
在官网上选择适合操作系统的CUDA版本:
注:可能是网络的原因,在之前的下载过程中一直出现服务器无法响应的错误,在网上找到了已经下载的CUDA和cuDNN百度云分享链接: