ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Tensorflow 1.0 설치 및 업그레이드
    나름 전문가/Vision for Robotics 2017. 4. 8. 05:36

    Tensorflow Ubuntu에서 설치하는 방법.

    보통.. pip install tensorflow-gpu는 잘 안먹히는 관계로 미리 빼놓는다.

    언제든지 TF가 Release 되면, export TF_BINARY_URL을 이용하여 환경값을 설정한 후 pip install 을 활용하자!



    # Ubuntu/Linux 64-bit, CPU only, Python 2.7

    $ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.0rc2-cp27-none-linux_x86_64.whl


    # Ubuntu/Linux 64-bit, GPU enabled, Python 2.7

    # Requires CUDA toolkit 8.0 and CuDNN v5. For other versions, see "Installing from sources" below.

    $ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.0.0rc2-cp27-none-linux_x86_64.whl


    # Mac OS X, CPU only, Python 2.7:

    $ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.0rc2-py2-none-any.whl


    # Mac OS X, GPU enabled, Python 2.7:

    $ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/gpu/tensorflow_gpu-1.0.0rc2-py2-none-any.whl


    # Ubuntu/Linux 64-bit, CPU only, Python 3.3

    $ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.0rc2-cp33-cp33m-linux_x86_64.whl


    # Ubuntu/Linux 64-bit, GPU enabled, Python 3.3

    # Requires CUDA toolkit 8.0 and CuDNN v5. For other versions, see "Installing from sources" below.

    $ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.0.0rc2-cp33-cp33m-linux_x86_64.whl


    # Ubuntu/Linux 64-bit, CPU only, Python 3.4

    $ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.0rc2-cp34-cp34m-linux_x86_64.whl


    # Ubuntu/Linux 64-bit, GPU enabled, Python 3.4

    # Requires CUDA toolkit 8.0 and CuDNN v5. For other versions, see "Installing from sources" below.

    $ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.0.0rc2-cp34-cp34m-linux_x86_64.whl


    # Ubuntu/Linux 64-bit, CPU only, Python 3.5

    $ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.0rc2-cp35-cp35m-linux_x86_64.whl


    # Ubuntu/Linux 64-bit, GPU enabled, Python 3.5

    # Requires CUDA toolkit 8.0 and CuDNN v5. For other versions, see "Installing from sources" below.

    $ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.0.0rc2-cp35-cp35m-linux_x86_64.whl


    # Ubuntu/Linux 64-bit, CPU only, Python 3.6

    $ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.0rc2-cp36-cp36m-linux_x86_64.whl


    # Ubuntu/Linux 64-bit, GPU enabled, Python 3.6

    # Requires CUDA toolkit 8.0 and CuDNN v5. For other versions, see "Installing from sources" below.

    $ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.0.0rc2-cp36-cp36m-linux_x86_64.whl


    # Mac OS X, CPU only, Python 3.4 or 3.5:

    $ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.0rc2-py3-none-any.whl


    # Mac OS X, GPU enabled, Python 3.4 or 3.5:

    $ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/gpu/tensorflow_gpu-1.0.0rc2-py3-none-any.whl





    #### Install

    $ sudo pip install --upgrade $TF_BINARY_URL



Designed by Tistory.