Enable USB debugging on your Android device In order to install apps on your Android device using the adb tool, you have to put your phone into developer mode and enable USB debugging. To do this, make sure the phone isn’t connected to a computer via USB and: Go to Setting - General - About Phone Go... Continue Reading →
How to build & deploy a TensorFlow app for Android
The following instructions were copied from the Justin Francis post found here. Several additions and changes were made, as needed. Dev Setup: Download Android SDK & NDK You can download Android SDK using the terminal and then extract it into your TensorFlow directory. $ wget https://dl.google.com/android/android-sdk_r24.4.1-linux.tgz $ tar xvzf android-sdk_r24.4.1-linux.tgz -C ~/tensorflow Then we need to download some... Continue Reading →
How to retrain the TensorFlow Android demo example project
Here's a set of instructions from oreilly.com Here's a set of instructions posted by Dan Jarvis. Note that Mr. Jarvis created a docker image that contains all the tools required to build and deploy TensorFlow apps to Android. The details of his docker image are described here. Here are instructions found on github at this link. I have not verified these yet. bafu... Continue Reading →
Using Jupiter Notebooks on a Mac
These are the instructions for running jupyter notebooks locally. This setup is for the fast.ai course on machine learning. It includes the notebooks for course #1. The local setup uses Docker on a Macbook to run ubuntu. The docker image is hosted on docker hub at the following URL. https://hub.docker.com/r/pgiacalo/fastai-course-1/ Here is the procedure: Launch the Docker application... Continue Reading →
Using Jupyter Notebooks on AWS
The following are the instructions for using Jupyter Notebooks on AWS servers. These instructions are summarized from fast.ai's 7 week course, Practical Deep Learning For Coders, Part 1. On my Macbook, change directories to access the course's setup scripts cd ~/dev/fastai_course/courses/setup Run the provided alias script to create aliases for working with AWS servers source aws-alias.sh Get the Instance... Continue Reading →
Create and ssh into a google cloud compute server
The Google Cloud SDK must be installed and initialized before you can run the shell commands shown below. Get a list of Google Cloud zone names and select a zone for your compute instance gcloud compute zones list Create a new Google Cloud Platform (GCP) compute instance (in a given zone) gcloud compute instances create my-server-name... Continue Reading →
Google Datalab Notebooks
Datalab Notebooks are google's implementation of Jupyter Notebooks (formerly IPython Notebooks) on the Google Cloud Platform (GCP). The datalab documentation page is found here. The full procedure to create, use, and manage datalab notebooks is found here. The quick start page is found here. The Google Cloud SDK must be installed and initialized before you can run the shell commands shown... Continue Reading →
Starting the Deep Dive
Machine learning requires a new way of thinking for software developers.