Trying out tensorflow and solving example problems.
The following installation steps are cherry-picked from TensorFlow Installation Guide:
- Check if you are using system python
$ which python
- If output is
/usr/local/bin/python
then skip to step 4. - Install a python at user level using Homebrew:
$ brew install python
$ brew linkapps python
$ which python
/usr/local/bin/python
- Install or update pip using easy_install:
$ easy_install pip
$ pip install --upgrade pip
- Install TensorFlow:
$ pip install tensorflow
$ pip install tensorflow-gpu # Optional
- Test the installation by loading tensorflow in a python console:
$ python
>>> import tensorflow as tf
- TensorFlow tutorials
- Learning TensorFlow
- TF Learn (previously SkFlow)