+
Skip to content

justinjfu/vs265_lstm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 

Repository files navigation

lstm

LSTM Implementation

TODO:

  • Vectorize the code across training examples.
  • Clean up the matrix dimension nonsense (ex. 8x2x1 matrices).
  • Clean up the weights_array nonsense

Demo Application (src/gestures)

Phone application (Android App) to collect IMU data and point to the ip address and port the client is running on. Call run_test.sh from a bash terminal.

The demo requires a pre-trained LSTM network to run - more details coming soon, client_test.py was used to record training data, and train_lstm.py was used to train a network. The result would be saved as a pickle, and is then used in demo_lstm.py.

Data from the phone's IMU includes Acceleration on 2 axes. For the demo, data is streamed from phone to client application. From demo_lstm.py, a snippet of data is recorded by the user and then is classified by the LSTM network. Depending on the training of the network, the result will be the best guess and second best guess for the class of the letter that the user attempted to write in the air while holding the phone.

About

LSTM Implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载