macOS, TensorFlow 설치
sudo easy_install pip
$ sudo easy_install --upgrade six
$ pip install tensorflow
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.12.1-py3-none-any.whl
$ sudo pip3 install --upgrade $TF_BINARY_URL
$ 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://ohienbee.blogspot.kr
$ sudo easy_install --upgrade six
$ pip install tensorflow
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.12.1-py3-none-any.whl
$ sudo pip3 install --upgrade $TF_BINARY_URL
$ 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://ohienbee.blogspot.kr
댓글