- Assumes you are logged in as the ubuntu user
- Tested and run on ubuntu 14.04
sudo pip2 install jupyter
sudo su - | |
pip install --upgrade pip | |
cd /opt/caffe/python | |
/usr/local/bin/pip install -r requirements.txt | |
cd .. | |
make pycaffe -j2 | |
make distribute | |
echo 'export PYTHONPATH=/opt/caffe/python:$PYTHONPATH' >> ~/.bashrc | |
echo 'export PYTHONPATH=/opt/caffe/python:$PYTHONPATH' >> /home/ubuntu/.bashrc | |
exit |
curl https://boost.labs.bitfusion.io/license/U5EbxzeR2SR3hPNS4q6d/install | sudo bash -s -- -s | |
# Silent install with long option | |
curl https://boost.labs.bitfusion.io/license/U5EbxzeR2SR3hPNS4q6d/install | sudo bash -s -- --silentinstall |
mkdir -p .jupyter/custom | |
touch .jupyter/custom/startup.py | |
Contents: | |
import warnings: | |
warnings.filterwarnings('ignore') | |
sudo service ipython-notebook restart |
To install TensorFlow Serving dependencies, execute the following:
sudo /usr/local/bin/pip2 install mock
sudo apt-get update && sudo apt-get install -y \
build-essential \
curl \
git \
libfreetype6-dev \
libpng12-dev \
libzmq3-dev \
Installing tf learn - python 2.7
/usr/local/bin/pip2 tflearn
Install tf learn - python 3.4
/usr/local/bin/pip3 tflearn
from __future__ import division, print_function, absolute_import | |
# Import tflearn and some helpers | |
import tflearn | |
from tflearn.data_utils import shuffle | |
from tflearn.layers.core import input_data, dropout, fully_connected | |
from tflearn.layers.conv import conv_2d, max_pool_2d | |
from tflearn.layers.estimator import regression | |
from tflearn.data_preprocessing import ImagePreprocessing | |
from tflearn.data_augmentation import ImageAugmentation |
from __future__ import division, print_function, absolute_import | |
# Import tflearn and some helpers | |
import tflearn | |
from tflearn.data_utils import shuffle | |
from tflearn.layers.core import input_data, dropout, fully_connected | |
from tflearn.layers.conv import conv_2d, max_pool_2d | |
from tflearn.layers.estimator import regression | |
from tflearn.data_preprocessing import ImagePreprocessing | |
from tflearn.data_augmentation import ImageAugmentation |