一、獨顯
二、裝驅動
https://www.nvidia.cn/Download/index.aspx?lang=cn
三、裝cuda
通用gpu加速庫
1、查看gpu支持的對高版本的cuda
nvdia控制面板——幫助——系統信息——組件
2、下載cuda
https://developer.nvidia.com/cuda-toolkit-archive
3、裝cuda
選擇自定義
記住安裝路徑,需要配置環境變量
4、配置cuda環境變量
四、裝cudnn
基於cuda的專門針對深度學習的gpu加速庫
1、下載cudnn
https://developer.nvidia.com/cudnn
2、文件替換
將CUDNN壓縮包里面的bin、clude、lib文件直接復制到CUDA的安裝目錄下,覆蓋原文件即可
五、裝Anaconda
官網:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ 在最下面
清華:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
六、裝Pytorch
https://pytorch.org/
可以先下載下來再裝
https://download.pytorch.org/whl/torch_stable.html
七、裝tensorflow
pip install tensorflow==2.0.0 -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install tensorflow-gpu==2.0.0 -i https://pypi.tuna.tsinghua.edu.cn/simple