windows下的深度学习环境软件版本(cuda/cudnn/pytorch)

为了方便多个深度学习框架的环境配置,推荐使用conda进行搭建。

1. anaconda/miniconda下载地址

anacoonda官方下载地址:

Free Download | Anaconda

miniconda官方下载地址:

 Latest Miniconda installer links by Python version — miniconda documentation

清华镜像源的下载地址:

Index of /anaconda/archive/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror

 Index of /anaconda/miniconda/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror

2.CUDA/cuDNN下载地址:

CUDA Toolkit Archive | NVIDIA Developer

CUDA Deep Neural Network (cuDNN) | NVIDIA Developer(需要邮箱注册下载)

3.torch/torchvision下载地址:

官方下载地址:PyTorch(pip命令推荐使用镜像源进行加速)

Previous PyTorch Versions | PyTorch

手动下载地址:https://download.pytorch.org/whl/torch_stable.html

下方是版本对应关系:

4.cuda和torch的对应版本

5.国内常用的镜像源:

清华镜像(首选)https://pypi.tuna.tsinghua.edu.cn/simple/
中科大镜像https://pypi.mirrors.ustc.edu.cn/simple/
豆瓣镜像http://pypi.douban.com/simple/
阿里云镜像https://mirrors.aliyun.com/pypi/simple/
设置默认镜像源pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple/

 

6.查看安装的torch版本命令:

import torch

print(torch.__version__)

print(torch.version.cuda)
print(torch.backends.cudnn.version())

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值