Installing TensorFlow

1. Pip Installation
    sudo apt-get install python-pip python-dev

    export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.10.0rc0-cp27-none-linux_x86_64.whl

    sudo pip install –upgrade $TF_BINARY_URL

2. Virtual Installation

    Step 1
        sudo apt-get install python-pip python-dev python-virtualenv

    Step 2
        virtualenv –system-site-packages ~/tensorflow
   
    Step 3
        source ~/tensorflow/bin/activate

        (tensorflow)$ pip install –upgrade https://storage.googleapis.com/tensorflow/linux/ cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl

    Step 4(python)
        import tensorflow as tf

        hello = tf.constant(‘Hello, TensorFlow!’)
        sess = tf.Session()
        print(sess.run(hello))
   
        a = tf.constant(10)
        b = tf.constant(32)
        print(sess.run(a + b))


https://www.tensorflow.org/versions/r0.8/get_started/os_setup.html#download-and-setup

Popular posts from this blog

com.gpki.secureweb.GPKISecureWEBException: ErrCode=1507,ErrMsg=[GPKI_CMS_ProcessEnvelopedData] 해당 인증서로는 데이터를 풀 수 없습니다.

PL/SQL Developer Tip 선택한 것만 실행