Wednesday, June 21, 2017

TensorFlow "Hello World!" on Windows

1. Install Python from here.
2. Install PyCharm from here.
3. Open command prompt and enter the following command:
       pip3 install --upgrade tensorflow
4. Open PyCharm and create a new project and a python file.
5. Enter the following short program inside the python file:
    import tensorflow as tf
    hello = tf.constant('Hello World!')
    sess = tf.Session()
6. Shift + F10