Datasets:
The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
white: string
White: string
grey: string
gray: string
light grey: string
light gray: string
dark grey: string
dark gray: string
silver: string
black: string
Black: string
brown: string
dark brown: string
sandy brown: string
beige: string
tan: string
blue: string
Blue: string
dark blue: string
light blue: string
purple: string
green: string
Green: string
light green: string
teal: string
red: string
orange: string
Orange: string
warm orange: string
yellow: string
gold: string
pink: string
rose gold: string
multi-colored: string
black and white: string
sampling_rate_hz: int64
files: list<item: struct<path: string, bytes: int64, sha256: string, shape: list<item: int64>, dtype: strin (... 3 chars omitted)
child 0, item: struct<path: string, bytes: int64, sha256: string, shape: list<item: int64>, dtype: string>
child 0, path: string
child 1, bytes: int64
child 2, sha256: string
child 3, shape: list<item: int64>
child 0, item: int64
child 4, dtype: string
stimuli: int64
participants: int64
recordings: int64
version: string
to
{'version': Value('string'), 'participants': Value('int64'), 'recordings': Value('int64'), 'stimuli': Value('int64'), 'sampling_rate_hz': Value('int64'), 'files': List({'path': Value('string'), 'bytes': Value('int64'), 'sha256': Value('string'), 'shape': List(Value('int64')), 'dtype': Value('string')})}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 483, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2840, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2373, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2398, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
white: string
White: string
grey: string
gray: string
light grey: string
light gray: string
dark grey: string
dark gray: string
silver: string
black: string
Black: string
brown: string
dark brown: string
sandy brown: string
beige: string
tan: string
blue: string
Blue: string
dark blue: string
light blue: string
purple: string
green: string
Green: string
light green: string
teal: string
red: string
orange: string
Orange: string
warm orange: string
yellow: string
gold: string
pink: string
rose gold: string
multi-colored: string
black and white: string
sampling_rate_hz: int64
files: list<item: struct<path: string, bytes: int64, sha256: string, shape: list<item: int64>, dtype: strin (... 3 chars omitted)
child 0, item: struct<path: string, bytes: int64, sha256: string, shape: list<item: int64>, dtype: string>
child 0, path: string
child 1, bytes: int64
child 2, sha256: string
child 3, shape: list<item: int64>
child 0, item: int64
child 4, dtype: string
stimuli: int64
participants: int64
recordings: int64
version: string
to
{'version': Value('string'), 'participants': Value('int64'), 'recordings': Value('int64'), 'stimuli': Value('int64'), 'sampling_rate_hz': Value('int64'), 'files': List({'path': Value('string'), 'bytes': Value('int64'), 'sha256': Value('string'), 'shape': List(Value('int64')), 'dtype': Value('string')})}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
PAIR: Perception And Imagery Recall
EEG dataset for Replaying the Movie in Your Mind: Decoding Dynamic Visual Perception and Recall from EEG, accepted at ICONIP 2026.
Code and archived-score reproduction: freesky3/PAIR. Original code in that repository is MIT-licensed; historical and third-party files retain their own terms. Data version: 1.0.0. License: CC BY-NC 4.0, allowing attribution-based noncommercial use and adaptation. Commercial use requires separate permission from the rights holders.
Contents and scale
Twenty participants (10 male and 10 female, as reported in the manuscript) completed three recording sessions each. Each session contains five blocks of 50 trials: 250 unique two-second videos, hierarchically labeled into four broad and twenty fine categories. Repeated presentations produce 15,000 paired trials (30,000 perception/recall epochs), not 15,000 unique videos.
The trial sequence was: 2 s viewing, 2 s recall-initiation prompt, 3 s recall, 3 s termination/break. Each block started with a 5 s readiness prompt. EEG was acquired at 1,000 Hz using 62 channels and downsampled to 200 Hz after filtering and ICA artifact attenuation. Eye tracking was recorded but not analyzed in the paper and is not included here. Original source-video files and unprocessed acquisition files are not included.
| Directory | Single recording shape | Axes |
|---|---|---|
watch_cleaned |
(5, 50, 62, 400) |
block, trial, channel, time |
recall_cleaned |
(5, 50, 62, 600) |
block, trial, channel, time |
watch_PSD_DE |
(2, 5, 50, 62, 5) |
PSD/DE, block, trial, channel, band |
recall_PSD_DE |
(2, 5, 50, 62, 5) |
PSD/DE, block, trial, channel, band |
The feature axis is PSD first, DE second. Frequency bands described in the manuscript are 1–4, 4–8, 8–14, 14–31 and 31–99 Hz. The cleaned arrays are preprocessed time-domain EEG. Values and dtypes are preserved byte-for-byte from the authors' supplied arrays; no additional amplitude scaling has been applied.
Metadata and identity
recordings.csvpreserves the original recording-processing order usingsource_indexand anonymous IDs.recording-01throughrecording-03denote within-participant sorted order, not the literal session labels in the original filenames.metadata/stimulus_labels.csvcontains all 250 clip labels in flattened block/trial order. It is safe to read without NumPy pickle loading.metadata/channels.tsvlists the 62 electrode names in array order. These names do not establish source localization.metadata/adj_matrix.npycontains the supplied electrode graph; other numeric metadata reproduce original semantic/flow labels.manifest.jsonlists hashes, sizes, shapes and dtypes for the numeric files and metadata.
Original personal filenames and the private identity mapping are not distributed. IDs align with the anonymous result tables in the code repository. Written informed consent is reported in the manuscript; no additional approval identifier is asserted by this data card.
Label definitions
Fine semantic labels in GT_label.npy are 1–20; coarse labels are (label - 1) // 5. Fast/slow uses a float32 optical-flow comparison with threshold 0.6427. Color classes are Neutral Light, Earth & Dark, Cool Tones, Green Nature and Warm Vibrant. Number labels are 0 for up to one object, 1 for two through four, and 2 for more than four. Face/human labels indicate presence.
Full-stimulus majority-class proportions are 6.0% (20-c), 25.2% (4-c), 50.0% (Fast/Slow), 22.8% (Color), 43.6% (Number), 60.4% (Face), and 54.4% (Human). These describe label distribution, not the accuracy of a historical validation-set baseline.
Download and validation
Large EEG arrays are stored as lossless parts of at most 4 MiB to support reliable
resumption over interrupted connections. transport.json specifies the ordered
parts and their SHA-256 hashes. The PAIR download command automatically restores
the original .npy files and verifies that the reconstructed bytes match
manifest.json. PSD/DE files and previously uploaded waveforms remain whole.
Allow about 15 GB of local space while keeping both parts and restored arrays.
After cloning the code repository and running uv sync --locked:
uv run pair-eeg download --repo skywalker-p/PAIR --revision v1.0.0 --data-dir data
uv run pair-eeg validate-data --data-dir data
A direct Hub download retrieves transport parts. Assemble them using the PAIR tool:
hf download skywalker-p/PAIR --repo-type dataset --revision v1.0.0 --local-dir data
uv run pair-eeg assemble-data --data-dir data
uv run pair-eeg validate-data --data-dir data
import numpy as np
watch = np.load("data/watch_cleaned/sub-001_recording-01.npy", allow_pickle=False)
epochs = watch.reshape(250, 62, 400)
Evaluation scope and limitations
The archived benchmark fits models separately for each participant/session. Content decoding randomly partitions 250 epochs into 200 training and 50 validation samples. State decoding uses the first 200 clips per condition for training and the last 50 for validation, keeping the two conditions of a clip together. Neural models report their best validation accuracy selected by early stopping; there is no independent test set. Exact historical split indices were not saved.
Content decoding uses different epoch durations (2 s perception and 3 s recall). Raw state decoding crops recall to 0.5–2.5 s. The archived raw alpha ablation removes 8–13 Hz, while spectral ablation omits the 8–14 Hz feature. No cross-subject evaluation or eye-tracking-based control was performed. Residual ocular signals, visual input and task differences may contribute to state discrimination. Topographic maps are descriptive sensor-level scores, not cortical source estimates.
The original reference-electrode details, physical amplitude units of the stored arrays, and complete raw-to-feature preprocessing script were not available in the supplied release materials. They are not inferred here. The manuscript reports 0.1–100 Hz filtering and ICA, but the full preprocessing provenance should be supplemented when the original records become available. Array integrity checks alone do not independently establish event/label alignment.
Citation and maintenance
Please cite Replaying the Movie in Your Mind: Decoding Dynamic Visual Perception and Recall from EEG (ICONIP 2026) and this dataset revision. The final proceedings DOI will be added when available. Report questions or issues through the PAIR code repository.
- Downloads last month
- 33