Skip to main content

Loader for the maestro-eeg-dataset (multimodal EEG/gaze/IMU/audio/video AAD dataset on HuggingFace).

Project description

maestro-loader

Loader for the aspire-osu/maestro-eeg-dataset — a multimodal auditory-attention-decoding (AAD) dataset with EEG, gaze, IMU, audio, and Tobii Glasses 3 scene video.

Install

pip install maestro-loader            # core
pip install maestro-loader[torch]     # + PyTorch return format
pip install maestro-loader[mne]       # + MNE-based bad-channel interpolation
pip install maestro-loader[all]

Quick start

from maestro_loader import load_aad

ds = load_aad(
    subjects=[1, 2, 3],
    trials="main",
    modalities=["eeg", "gaze", "audio"],
    segment_length=2.0,        # seconds
    overlap=0.5,
    normalize="zscore",
    bad_channels="interpolate",
    return_format="torch",
)

for sample in ds:
    eeg = sample["eeg"]                 # (T, 32) torch.Tensor
    gaze = sample["gaze"]               # (T, 21)
    audio = sample["audio"]             # dict[speaker_id → (T_audio,) waveform]
    label = sample["attended_speaker"]  # int in {1..4}

See the dataset README on Hugging Face for the full data schema.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maestro_loader-0.1.2.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

maestro_loader-0.1.2-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file maestro_loader-0.1.2.tar.gz.

File metadata

  • Download URL: maestro_loader-0.1.2.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for maestro_loader-0.1.2.tar.gz
Algorithm Hash digest
SHA256 425ccd1137d2ebbe0286f240b367a84fb5cd18b84b79c5000e16956bbc109666
MD5 2cce57b8c4aed19c8af0c9a08bb8144b
BLAKE2b-256 4299a444415519b9dee0fbf87c013b9f20fa9854a162e77db4a2c06a840c964e

See more details on using hashes here.

File details

Details for the file maestro_loader-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: maestro_loader-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for maestro_loader-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 47876ab2ec1bd0640b1199410ae7f9d6498273f69a615b4f2260c0c44aacad5d
MD5 2b82c7c7587e6ede882fb7cd7f2a25d1
BLAKE2b-256 fb46c391491a201b04cfc575bd3a6af37ba008f07d0e95b744d8978e8d22c9dd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page