Skip to content

Instantly share code, notes, and snippets.

View MDBox's full-sized avatar

Michael Bawiec MDBox

View GitHub Profile
@MDBox
MDBox / gist:88310aeb35aa9967f596840926ade6b3
Created February 14, 2018 13:17
Setup Deeplens Device
# We can get sound to work when running the script directly on the device but when we deploy from AWS sounds isn't working.
sudo mkhomedir_helper ggc_user
sudo useradd -G audio ggc_user
git clone https://github.com/MDBox/deeplens-simon-says
cd ./deeplens-simon-says/deeplens/simonsays
wget https://s3.amazonaws.com/mdbox-deeplen-simon/models/models.zip
unzip models.zip
sudo pip install -r requirments.txt
sudo python simon.py
@MDBox
MDBox / convertmodels.txt
Last active February 14, 2018 13:23
Convert caffe realtimePose model to Intel Inference Engine
#Note you can do all this from SageMaker if you wish.
# Convert Caffe Model
- First install https://software.intel.com/en-us/inference-engine-devguide
- Follow the instructions to install caffe (requires building from source)
- Download Original Models from https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/models/getModels.sh
For best performance use the MPI_faster version and set the resolution to 184x184.
pose_deploy_linevec_faster_4_stages.prototxt