This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # 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 | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #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 |