Skip to content

cmusmashlab/prism

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrISM: Procedure Interaction from Sensing Module

372315677-9cba4401-0b19-4014-9349-5cbbd382854b

This is a repository for the research code in which we aim to develop a real-time intelligent assistant that navigates users through dialogues during procedural tasks (e.g., cooking, latte-making, medical self-care).

Publications

The code is structured in a modular manner, from underlying sensing mechanisms to user interactions. We value your citation of the relevant publication.

What's in this repository now

For now, we have

  • data_collection: smartwatch app + preprocess script
  • src: modularized pipeline
    • HAR (frame-level human activity recognition)
    • Tracker (postprocess with an extended Viterbi algorithm)
    • Observer (proactive intervention based on the tracking result)
    • Q&A (coming soon, question-answering interaction with LLMs augmented by sensing output)

We will also release the real-time server app shortly.

Setup

Install the prism module into your environment

$ conda create -n "prism" python=3.10
$ conda activate prism
$ conda install --file requirements.txt

Create a datadrive folder at your convenience. Make sure to update src/prism_tracker/config.py.

datadrive = Path('Path / To / Your / Datadrive')

After that, please run

$ python -m pip install -e src

In the datadrive, the structure will be

datadrive
│
└───pretrained_models
│   └───audio_model.h5
│   └───motion_model.h5
│   └───motion_norm_params.pkl
│  
└───tasks
    └───latte_making
          └───dataset
          └───qa (will be generated)
          └───models (will be generated)

Download the required files from the following links:

License

This repository is published under MIT license. Please contact Riku Arakawa and Mayank Goel if you would like another license for your use.

Contact

Feel free to contact Riku Arakawa for any help, questions or general feedback!

Acknowledgements

  • Hiromu Yakura helped with the implementation of the tracker and observer.
  • Vimal Mollyn helped with the implementation of the HAR module.
  • Suzanne Nie and Vicky Liu helped with the data collection pipeline.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages