My guide is about tensorflow installation by anacoda on windows 10 64bit. On windows 10 64bit ,you need:
1.Install Anacoda
2.Create environment by cmd: conda create -n tensorflow
3.Active this environment: activate tensorflow
4.Install tensorflow: pip install tensorflow
5.Processing as this image
After installing process finished, you check as command :
python
import tensorflow as tf
a = tf.constant(5, name="input_a")
b = tf.constant(3, name="input_b")
c = tf.multiply(a,b,name="mul_c")
d = tf.add(a,b,name="add_d")
e = tf.add(c,d,name="add_e")
writer = tf.summary.FileWriter('./my_graph', sess.graph)
Try it more to show graph:
1.activate tensorflow
2.tensorboard --logdir="my_graph"
Then close your writer and session
writer.close()
sess.close()
If it ok, so you can start your project.
1.Install Anacoda
2.Create environment by cmd: conda create -n tensorflow
3.Active this environment: activate tensorflow
4.Install tensorflow: pip install tensorflow
5.Processing as this image
After installing process finished, you check as command :
python
import tensorflow as tf
a = tf.constant(5, name="input_a")
b = tf.constant(3, name="input_b")
c = tf.multiply(a,b,name="mul_c")
d = tf.add(a,b,name="add_d")
e = tf.add(c,d,name="add_e")
writer = tf.summary.FileWriter('./my_graph', sess.graph)
Try it more to show graph:
1.activate tensorflow
2.tensorboard --logdir="my_graph"
Then close your writer and session
writer.close()
sess.close()
If it ok, so you can start your project.
Comments
Post a Comment