Dataset Viewer
The dataset viewer is not available for this subset.
Cannot get the split names for the config 'default' of the dataset.
Exception:    SplitsNotFoundError
Message:      The split names could not be parsed from the dataset config.
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 286, in get_dataset_config_info
                  for split_generator in builder._split_generators(
                                         ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      StreamingDownloadManager(base_path=builder.base_path, download_config=download_config)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 84, in _split_generators
                  raise ValueError(
                  ...<2 lines>...
                  )
              ValueError: The TAR archives of the dataset should be in WebDataset format, but the files in the archive don't share the same prefix or the same types.
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 68, in compute_split_names_from_streaming_response
                  for split in get_dataset_split_names(
                               ~~~~~~~~~~~~~~~~~~~~~~~^
                      path=dataset,
                      ^^^^^^^^^^^^^
                      config_name=config,
                      ^^^^^^^^^^^^^^^^^^^
                      token=hf_token,
                      ^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 340, in get_dataset_split_names
                  info = get_dataset_config_info(
                      path,
                  ...<6 lines>...
                      **config_kwargs,
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 291, in get_dataset_config_info
                  raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
              datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

EgoMyo: Physical Hand State Estimation from Egocentric Video and Wrist Electromyography

Paper Website Code

EgoMyo is a multimodal dataset for estimating physical hand state from egocentric video and wrist surface electromyography (sEMG). It combines visual and neuromuscular inputs with annotations of hand pose, contact and force, supporting research on hand interaction and multimodal learning.

This repository provides 100 hand packages containing 33,989 trials. The companion code repository includes MyoBridge, preprocessing tools, visual feature extraction, training, evaluation and task-adapted baseline implementations. See the paper and project website for the method and qualitative results.

What Is Included

Modality / annotation Trial files Use
Egocentric video ego/ego.mp4, ego/ego_timestamps.csv Visual model input and feature extraction
External-view raw video external_video/ Complementary third-person recordings for observing hand–object interactions
Precomputed visual features vision_feature/ Frozen WiLoR and DINOv2 tokens matched to the public trials and ego-video frames
Wrist sEMG emg/emg_raw.h5 Raw 18-channel ADC signals, timestamps and sample indices
Hand pose and geometry pose/hand_pose_*.npz, original contact/mano.npz Pose/mesh annotations; original MANO vertices and joints provide model supervision
Corrected/completed pressure2 force/pressure_completed.h5, force/region_force_completed.csv Pressure matrices and seven-region force estimates, with quality/completion flags
Surface contact and force contact/contact_surface_completed.h5 Per-face force, anatomical regions and mapping-validity information
Metadata trial_info.json, dataset membership and split files Trial identities, handedness, alignment and fixed evaluation partitions

Only corrected/completed pressure2 is included. Its HDF5 files are self-contained and do not require an earlier pressure version. The dataset contains recordings, annotations and precomputed visual features; model weights are not included. Optional completed MANO geometry, where present, is for visualization; the training pipeline uses the original contact/mano.npz for pose supervision.

Download

Install the companion code, then download and extract the archives:

git clone https://github.com/SunGL001/EgoMyo.git
cd EgoMyo
pip install -r requirements.txt
python scripts/download_dataset.py --local-dir data/egomyo-release
mkdir -p data/egomyo-raw
for archive in data/egomyo-release/data/raw/*.tar; do
  tar -xf "$archive" -C data/egomyo-raw
done

To start with one package and its metadata:

python scripts/download_dataset.py --local-dir data/egomyo-release \
  --allow-pattern README.md --allow-pattern 'metadata/*' \
  --allow-pattern 'data/raw/0929-1-L.tar' --allow-pattern release.json

Available archives, sizes and SHA-256 checksums are listed in release.json and metadata/packages/. Verify checksums before extraction and record the dataset revision for reproducibility. The full published split requires all packages; a single archive is a subset.

File Organization

metadata/
├── membership.json                 trial membership and package identities
├── splits.json                     development partitions for cross-trial / cross-session
├── splits_final.json               final TRAIN / TEST for cross-trial / cross-session / cross-subject
├── splits_cross_session.json        cross-session development partitions
├── splits_cross_session_final.json  cross-session final TRAIN / TEST
├── splits_cross_subject_final.json  cross-subject final TRAIN / TEST
├── protocols.json                  grouping rules, counts and split provenance
├── packages/<package>.json          archive checksums and trial counts
└── files/<package>.jsonl.gz         per-file checksums
data/raw/<package>.tar               one hand package per archive
external_video/                     external-view raw video collection
vision_feature/                     frozen WiLoR / DINOv2 features and restoration tools
release.json                        available packages and dataset version

Extract all archives into the same raw root, preserving the supplied paths and identifiers. Each archive contains a hand-package directory with its trials. See the file-format reference for details and pressure2 documentation for annotation fields and flags.

Precomputed Visual Features

vision_feature/ provides frozen WiLoR and DINOv2 features for the same 100-hand, 33,989-trial population as the raw recordings. WiLoR tokens have shape [frames, 13, 1280]; DINOv2 tokens have shape [frames, 34, 768]. Trial mappings, extraction receipts, archive checksums and verification/extraction tools accompany the caches. These are visual inputs, not pose, contact or pressure supervision. Companion WiLoR prior arrays are model predictions; the WiLoR no-explicit-prior MyoBridge variant uses the tokens without consuming these pose/shape predictions.

pip install huggingface_hub
hf download long2333/EgoMyo --repo-type dataset --local-dir data/egomyo-release \
  --include 'vision_feature/*'
python data/egomyo-release/vision_feature/tools/restore.py \
  --download-dir data/egomyo-release --destination data/egomyo-vision

See the visual feature guide for family-specific downloads, restored paths and model-input compatibility.

External-View Raw Video

external_video/ is the collection directory for external-camera recordings of the hand–object interactions. The third-person view complements the egocentric recordings for inspecting interactions and qualitative analysis; it is not an input to the supplied egocentric-video and sEMG MyoBridge recipes. Match recordings using their trial metadata and timestamps, rather than assuming that different camera streams share frame counts or frame indices. See the external-view guide for usage and identification conventions.

Use with MyoBridge and Baselines

Convert the recordings and annotations into aligned training targets:

python scripts/prepare_targets.py --source-root data/egomyo-raw \
  --membership data/egomyo-release/metadata/membership.json \
  --out data/egomyo-prepared --include-long-emg
cp data/egomyo-release/metadata/splits.json data/egomyo-prepared/splits.json

Use a new output directory. The converter produces targets/<trial_id>.npz, a video frame map, anatomical region assignments, validity masks and conversion receipts. --include-long-emg also prepares longer windows for EMG baselines.

Next, restore the supplied visual features or extract them from video, compute TRAIN-only normalization, and train/evaluate as described in the code README and raw-to-target guide. Licensed MANO assets and external visual-model weights are obtained separately. Baseline instructions cover method-specific inputs and dependencies.

Inputs versus supervision

  • Inputs: video-derived features and causal 18-channel sEMG windows. MyoBridge uses 400 samples per frame; supported long-history baselines use 2000 samples.
  • Pose targets: original MANO vertices/joints, converted to wrist-relative coordinates with validity masks.
  • Regional targets: unsmoothed pressure2 force_7_estimated_n; regional contact is derived using a > 0.2 estimated-N threshold on valid labels.
  • Surface targets: completed per-face force mapped conservatively to vertices, retaining mapping-validity masks.

Pose, contact and force annotations are not network inputs in the provided training and inference recipes. See the field mapping for exact tensor shapes, units, alignment, losses and mask definitions.

Evaluation Splits

Protocol Phase TRAIN Validation TEST
Cross-trial Final 20,399 0 13,590
Cross-session Final 16,995 0 16,994
Cross-subject Final 23,797 0 10,192

metadata/splits.json contains the development partitions; metadata/splits_final.json contains the final partitions for all three protocols. Select the desired entry under protocols.cross_trial, protocols.cross_session or protocols.cross_subject. Protocol-specific copies and grouping/provenance details are linked in metadata/protocols.json.

  • Cross-trial: the final-refit TRAIN merges development TRAIN and validation, with the same fixed TEST trials.
  • Cross-session: development TRAIN/validation are drawn only from session 1; its development file intentionally has no TEST entries. Final TRAIN contains all session-1 trials, and TEST contains session-2 trials from the same hand packages.
  • Cross-subject: the original experimental grouping uses the released participant_candidate key, with 35 groups for TRAIN and 15 for TEST. Both hands and all sessions of each group stay in one partition. This is the grouping used by the archived experiments, not an independently certified participant-identity mapping. No separate development/validation split is supplied for this protocol.

The final partitions each cover all 33,989 trials without TRAIN/TEST overlap. Use the supplied trial IDs rather than regenerating splits from directory order or package names. Compute normalization only from the selected protocol's TRAIN; do not reuse another protocol's statistics or alignment weights. Keep partitions fixed across methods/seeds, and do not select hyperparameters using TEST labels.

Annotation Notes and Limitations

  • Pressure2 includes interpolated or estimated intervals. Completion flags and source-row provenance distinguish these derived annotations from observations.
  • Force is reported in estimated newtons, not independently calibrated measurements; physical synchronization has not been independently verified.
  • Pressure-to-hand mapping is approximate. Regional-force and mapped surface-force sums are distinct quantities.
  • Missing geometry, invalid timing and unsupported mappings remain masked; missing values must not be treated as valid zero-force or no-contact labels.
  • Use the dataset for hand-interaction research, not to infer participant identity from video, hands or sEMG.

License and Contact

The dataset is listed under the MIT license. External MANO assets and WiLoR/DINOv2 weights are not included and remain subject to their own licenses. For questions, bug reports or data-related requests, use the project issue tracker.

Citation

@article{sun2026egomyo,
  title={EgoMyo: Physical Hand State Estimation from Egocentric Video and Wrist Electromyography},
  author={Sun, Guanglong and Zhou, Kanglei and Wang, Ziteng and Wang, Nana and Tan, Hengkai and Liu, Xiaolong and Su, Hang and Zhong, Yi and Zhu, Jun},
  journal={arXiv preprint arXiv:2611.34224},
  year={2026},
  url={https://arxiv.org/abs/2611.34224}
}
Downloads last month
1,315

Models trained or fine-tuned on long2333/EgoMyo

Paper for long2333/EgoMyo