This post is focussed on getting our dev env setup for our future experiments.
Dev stack is pretty minimal for now:
- Jupyter notebooks
Get virtual env setup
$> virtualenv -p python3 venv
These are the dependencies we would use soon as part of our play tasks.
$> vim requirements.txt numpy scipy tensorflow==0.12.0 tensorflow-gpu keras ipython jupyter six protobuf==3.1.0 wheel $> pip install -r requirements.txt
Run Jupyter notebook
$> jupyter notebook
Try this in your Jupyter notebook:
Sometimes import tensorflow still fails. You can try installing dependencies like:
-- import tensorflow as tf error: export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.12.0-py3-none-any.whl sudo pip3 install --upgrade $TF_BINARY_URL