Linux安装Anaconda和cuda、cdnn和Tensorflow-gpu

这篇博客详细介绍了如何在Linux系统中安装Anaconda,以及配合CUDA和cuDNN来安装Tensorflow-gpu。内容包括使用virtualenv、native pip、Docker和Anaconda等不同方式的安装步骤,特别是强调了如果系统有NVIDIA GPU,应考虑安装带GPU支持的Tensorflow以获取更好的性能。同时,提到了所需的CUDA Toolkit 8.0、NVIDIA驱动、cuDNN v6.0以及GPU的CUDA Compute Capability要求。安装过程中,还应注意设置环境变量,并确保安装libcupti-dev库。最后,提到了一些常见的安装问题和解决方案。
摘要由CSDN通过智能技术生成

总结

网址: http://blog.csdn.net/wolframalpha
作者: 李毅

全部看完在敲命令。先安装

Anaconda,在安装cuda和

cudnn,最后是tensorflow
安装tensorflow根据官网:

上不了的同学可以到 :
我已经把他复制下来了

给出的安装方法,共有5种安装方法。
在这里, 选择 Anaconda安装

tensorflow有cpu版本和gpu版本,首先确定安装的版本。
You must choose one of the following types of TensorFlow to install:
  • TensorFlow with CPU support only. If your system does not have a NVIDIA® GPU, you must install this version. Note that this version of TensorFlow is typically much easier to install (typically, in 5 or 10 minutes), so even if you have an NVIDIA GPU, we recommend installing this version first.
  • TensorFlow with GPU support. TensorFlow programs typically run significantly faster on a GPU than on a CPU. Therefore, if your system has a NVIDIA® GPU meeting the prerequisites shown below and you need to run performance-critical applications, you should ultimately install this version.



NVIDIA requirements to run TensorFlow with GPU support
If you are installing TensorFlow with GPU support using one of the mechanisms described in this guide, then the following NVIDIA software must be installed on your system:
  • CUDA® Toolkit 8.0. For details, see NVIDIA's documentation. Ensure that you append the relevant Cuda pathnames to the LD_LIBRARY_PATH
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值