#title TensorFlow
[[TableOfContents]]


 * [http://goodtogreate.tistory.com/entry/GPU-TensorFlow-on-Window-10-TensorFlow-GPU%EB%B2%84%EC%A0%84-%EC%9C%88%EB%8F%84%EC%9A%B010-%EC%84%A4%EC%B9%98 TensorFlow-설치하기]
 * [https://tensorflowkorea.gitbooks.io/tensorflow-kr/content/ TensorFlow-Tutorial]










==== 설치하기 ====
2016-07-14, 0.9버전이다. CentOS 7
{{{
sudo yum install python-pip python-dev python-virtualenv 

sudo easy_install pip
sudo pip install --upgrade virtualenv

virtualenv --system-site-packages ~/tensorflow
source ~/tensorflow/bin/activate #  with bash 

pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.9.0-cp27-none-linux_x86_64.whl

deactivate
}}}

참고
 * https://tensorflowkorea.wordpress.com/1-%ED%85%90%EC%84%9C%ED%94%8C%EB%A1%9C%EC%9A%B0-%EA%B8%B0%EB%B3%B8%EB%8B%A4%EC%A7%80%EA%B8%B0-first-contact-with-tensorflow/
 * https://www.tensorflow.org/versions/r0.9/get_started/os_setup.html

python coding 시작하기 & tensorflow 테스트
{{{
login as: dwa
dwa@192.168.56.103's password:
Last login: Wed Jul 27 17:59:33 2016 from 192.168.56.101
[dwa@localhost ~]$ source ~/tensorflow/bin/activate ########################## virtual 환경으로 진입
(tensorflow) [dwa@localhost ~]$ python
Python 2.7.5 (default, Nov 20 2015, 02:00:19)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
>>> hello = tf.constant('Hello, TensorFlow')
>>> sess = tf.Session()
>>> print sess.run(hello)
Hello, TensorFlow
>>> exit()
(tensorflow) [dwa@localhost ~]$ deactivate
[dwa@localhost ~]$
}}}



==== 참고자료 ====
 * 책
  * [https://tensorflowkorea.wordpress.com/2016/04/28/first-contact-with-tensorflow/ First Contact with TensorFlow]

 * 윈도우에 tensorflow 설치하기
  * http://webofthink.tistory.com/64
  * http://dsmoon.tistory.com/entry/TensorFlow-install  --> ImportError: No module named tensorflow라는 에러가 났을 때에 pip install --upgrade protobuf