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 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.1.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.1-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: maestro_loader-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 45491b62faa3d74e04c2470aa8942ee7a69bcf477d5e1afa067b1346c2ba2633
MD5 3d7677cf66807103932198f3d76b7bb0
BLAKE2b-256 ae81a60717bece75508b41f7bb840e2dad04d903a1b38c924fc6addfd6492758

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maestro_loader-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bcc905a6e611e4d3d2b999ad81d0122814065b8229127e20032f5d770e22c179
MD5 03e0d52d6f951dd5d3156eff3d43eed9
BLAKE2b-256 3492c4dd249b6d318d62d0a9a1983934d042350c7d9c85448a7806f1f8e3284d

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