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.0.tar.gz (9.4 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.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: maestro_loader-0.1.0.tar.gz
  • Upload date:
  • Size: 9.4 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.0.tar.gz
Algorithm Hash digest
SHA256 4331ada620622ff72a85a46ce9d67bcf1a3b5ef232170959f71ac912aa948e7a
MD5 b928881ffedb043cd6350c5f05e66b89
BLAKE2b-256 26b363bdb42fcb0e20d8422461ff27c0880978616a73bc2332e76d7f3766edb7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maestro_loader-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 59871d12a520cc96d083e7a3d7e1a3200c2d5fe0bb7770bbadf23260edb41f84
MD5 fd8c2c9a349f07eb08e14cd53550ee5d
BLAKE2b-256 42ec076965a7e85c2c25e67458f50ca0ddb334bbbc0ef7c4cc2d2a0fa12160a6

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