Dataset-agnostic captioning pipeline for sensor time-series data.
Install dependencies and set the dataset path before running:
python3 -m pip install -r requirements.txtexport MHC_DATASET_DIR="../hf-daily_max-nonwear=50"python3 captionizer.pyUse the interactive explorer to inspect one row at a time, switch signals, and see which detector events fired where on the time series.
Start it with:
python3 explorer.py --min-wear-pct=50.0Useful controls:
- Use the bottom row slider or
</>buttons to move between dataset rows. - Click a signal in the right-hand signal list or in the channel overview heatmap to switch channels.
- Use the Matplotlib zoom and pan tools on the main plot to inspect parts of the signal in detail.
- Click
resetor presshometo reset the zoom. - Use the overlay buttons to toggle
trend,spike,drop, andnonwearoverlays. - Use the
stats,events,captions, andhelptabs in the details panel to switch what metadata is shown. - Scroll inside the details panel with the mouse wheel or the
^/vbuttons.