_ | 覦覈襦 | 豕蠏手 | 殊螳 | 譯殊碁
FrontPage › TensorFlow

Contents

1 れ蠍
2 谿瑚襭



1 れ蠍 #

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

谿瑚
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 ~]$



2 谿瑚襭 #

蠍 蠍郁鍵..
企: : るジ讓曙 襦螻豺 企Ν 譯殊語. 襦螻豺
EditText : Print : Mobile : FindPage : DeletePage : LikePages : Powered by MoniWiki : Last modified 2018-04-13 23:12:52

る 蟆郁記 觜 蟆一 螳讌 覯 覿螻狩. (R.H )