Following the instructions here to learn a bit more about tensor flow.
Install tensorflow following these instructions. I decided to follow the virtualenv instructions, as I found that to be the most useful. You may also find it useful to setup an alias to startup your virtualenv, something like:
alias tf-virtualenv="source ~/Path/to/dir/bin/activate"
This post helped solve some of my issues when getting setup on my mac.
I had to do the following in a console:
$ brew install python
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/tensorflow-0.9.0-py2-none-any.whl
$ sudo pip install --upgrade $TF_BINARY_URL
I also needed to run this:
$ rehash
This is a useful guide I used for structuring my codebase.
Execute the code running:
python tensorflow-test.py
I would suggest deactivating warnings here:
export TF_CPP_MIN_LOG_LEVEL=2
Visual Information Theory - http://colah.github.io/posts/2015-09-Visual-Information/