1.下载cuda和cudnn
下载TensorFlow对应版本请看这个网站
https://blog.csdn.net/qq_27825451/article/details/89082978
下载pytorch请看官网
https://pytorch.org/
CUDA:https://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/index.html
cuDNN:https://docs.nvidia.com/deeplearning/sdk/cudnn-install/index.html#installwindows
官网下载速度慢,已上传,可以直接下
这里我下载的版本是
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200831173716188.jpg#pic_center
先下载
链接:https://pan.baidu.com/s/1mkhIJC8HeXJ3bT29N1bpsQ
提取码:de7y
2.安装cuda
参照其他人的文章一步一步下一步基本就可以了,不过值得一提的是安装路径最好默认,这样就直接按照我的教程,如果要安装在其他盘可能要自己注意下