常用网址备份

一、Tensorflow

        1、安装包下载链接:

               https://pypi.org/project/tensorflow-gpu/1.10.0/#files

    安装方法:

                 1)安装PIP:

         sudo apt-get install python-pip python-dev  #for python2.7

                        sudo apt-get install python3-pip python3-dev #for python3.n

      2)安装tensorflow:

         sudo pip install tensorflow-gpu 1.10.0

                                sudo pip install *-cp36-cp36m-linux_x86_64.whl

        2、源码下载链接:

              http://github.com/tensorflow/tensorflow

二、Bazel下载链接:

        https://github.com/bazelbuild/bazel/releases

三、CUDA版本下载链接:

       https://developer.nvidia.com/cuda-toolkit-archive

       CUDA安装:

     sudo chmod +x cuda_8.0.61_375.26.linux.run

                  sudo ./cuda_8.0.61_375.26.linux.run  ( 配置过程中,不要安装cuda自带的显卡驱动,其他都选y)

     sudo gedit ~/.bashrc 在文件最后添加以下两句:

                 export PATH = /usr/local/cuda-8.0/bin:$PATH

                 export LD_LIBRARY_PATH = /usr/local/cuda-8.0/lib64:$LD_LIBRARY_PATH

     source ~/.bashrc

                  nvcc -V  (验证安装成功与否) 

四、CUDNN版本下载链接:

       https://developer.nvidia.com/rdp/cudnn-archive

       CUDNN安装方法:

                 tar -xzvf  cudnn-8.0-linux-x64-v6.0.tgz

                 sudo cp cuda/include/cudnn.h /usr/local/cuda/include

                 sudo cp cuda/lib64/libcudnn* /usr/local/cuda/lib64

                 sudo chmod a+r /usr/local/cuda/include/cudnn.h /usr/local/cuda/lib64/libcudnn*

posted @ 2019-10-25 15:03  jimchen1218  阅读(300)  评论(0编辑  收藏  举报