Skip to content

aria-lab-code/vr-exoskeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vr-exoskeleton

Analysis and modeling from data collected for the VR Exoskeleton project.

Install

To create a virtual environment and install dependencies from pip:

python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python -m ipykernel install --user --name=vr-exoskeleton

On Windows, instead activate the environment (the second line above) by:

venv\Scripts\activate

Download Data

Navigate to the dataset hosted on Figshare.

Click the Download all button.

Extract the content to the data directory:

unzip ~/Downloads/25749378.zip data

Train

Train a MLP model:

python -m vr_exoskeleton.train mlp --run_name my_run --seed 1

Train a LSTM model:

python -m vr_exoskeleton.train lstm --run_name my_other_run --seed 2

Export

Export the trained model to the ONNX format:

python vr_exoskeleton/export.py

You can check that the model exported with proper dimensions and input/output layer names via Netron.

Notebooks

From the repository root, open Jupyter Lab by:

jupyter-lab

About

Analysis and modeling from data collected for the VR Exoskeleton project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •