Skip to content

Sub 06 — EMG beyond wristband #1397

Open

Description

@bruAristimunha

Sub 06 — EMG beyond wristband

Parent: macro issue. Related: #1129/#1142 closed (only missing TdsNetwork + RotationInvariantMLP overlap as incumbent-adjacent). No author tags. Citations OpenAlex 2026-10-13.

We would like to integrate the following EMG models into Braindecode for a systematic study under a common evaluation protocol. Each port gets its own PR.

Model Original source Paper? Citations / datasets Notes
TdsNetwork facebookresearch/emg2pose, networks.py::TdsNetwork HAS-PAPER: arXiv 2412.02725. Cit. 8. emg2pose 193 subs 370h 25k HDF5 TDS conv stack; only absorbable end-to-end not in
DiscreteClassifier LibEMG/libemg, MyoCrossUser.py HAS-PAPER: IEEE 2023 doi:10214558. Myo 6-class multi-user; shims NinaPro/HySer/EPN Conv-GRU-MLP; weights external
ContrastiveProsthetics Model + EMGNet FibonacciDude/ContrastiveProsthetics, code/models.py NO PAPER (repo-only). NinaPro DB2 (40) + DB3 (11 amputees) Test-time personalization; only open EMGNet
TMA cnn + nn Laknath1996/sEMG-Hand-Gesture-Recognition HAS-PAPER: ICASSP 2020 doi:9054227. Own Myo cohort + .h5 Tiny real-time; Keras port needed
Foundational_EMG Encoder A-R-Hariri/Foundational_EMG, models.py::Encoder NO STANDALONE PAPER (scale-up of EPN612_Cross_User). All-public-EMG pretrain; EPN612 eval Variable-channel Transformer; weights TBD
PhysioWave BERTWaveletTransformer ForeverBlue816/PhysioWave, model.py HAS-PAPER: NeurIPS 2025 arXiv 2506.10351. Cit. 1. 823GB EMG pretrain; EPN-612 94.5% Wavelet-transformer; emg.pth via Drive
TCCNet DSIP-UPatras/ICASSP2019_TCN, code/models.py::TCCNet HAS-PAPER: ICASSP 2019 doi:8683239. NinaPro DB1:27 TCN + channel attention; Keras
iEMG One_to_one / All_to_one / All_to_all aeolsson/iEMG_LSTM_force_regression HAS-PAPER: Front. Neurosci. 2021. Cit. 11. Fine-wire + force lab cohort Only iEMG DL; CuDNNLSTM-era
HandDisentanglement heads Open-EXG/HandDisentanglement, models.py HAS-PAPER: JNER 2024 (cit. 9); IJNS 2025. HySer HD-sEMG Disentangled encoders + 3 classifiers
RotationInvariantMLP family facebookresearch/emg2qwerty, modules.py HAS-PAPER: arXiv 2410.20081 (cit. 1/4); Nature 2025 doi:10.1038/s41586-025-09255-w (cit. 75). emg2qwerty 108 users 346h Incumbent-adjacent (EMG2QwertyNet in)
ViT-EMG VisionTransformer MansoorehMontazerin/Vision-Transformer_EMG HAS-PAPER: arXiv 2022 + Sci Rep 2023 PMC10329032. CapgMyo/NinaPro, confirm splits HD-sEMG transformer
GeometryOfsEMG Riemannian HarshavardhanaTG/GeometryOFsEMG HAS-PAPER: JNE 2024 doi:10.1088/1741-2552/ad5107. Cit. 9. Own 30-subj OSF ZCR43 SPD-covariance Riemannian EMG

Requirements per port: pin source SHA; CPU outputs + gradients vs original; record preprocessing.
Question (untagged): ok to integrate into Braindecode (1.2M downloads)? Tell us terms if not.

Activity

  1. arslan-shafique commented on Nov 2, 2026

    @arslan-shafique
    Contributor

    Hi, I’d like to take the TCCNet model as a focused first port from this batch. It is a good match for my Python and EMG/hardware background. I checked that there is currently no TCCNet implementation or open pull request in Braindecode.\n\nProposed scope for one PR:\n\n- Pin the MIT-licensed original source at DSIP-UPatras/ICASSP2019_TCN commit cd28909ccf3696b835446cbec2f15eb60610a2af.\n- Implement the ICASSP 2019 TCCNet architecture in PyTorch following Braindecode’s model API, including its temporal-convolution stack and the average-over-time/attention classification heads.\n- Add CPU tests for output shapes, gradients, and deterministic numerical parity against the pinned Keras implementation on synthetic input.\n- Document the expected input geometry and the original NinaPro DB1 preprocessing assumptions, without copying weights or datasets.\n\nBefore I begin the port, could a maintainer confirm that TCCNet is approved for integration and whether both classification heads should be included in the initial PR? I will keep the PR limited to this single model and disclose AI assistance as required.

  2. arslan-shafique commented on Nov 9, 2026

    @arslan-shafique
    Contributor

    Hi maintainers, I’m following up on the TCCNet proposal above. I’m still interested and ready to begin once you confirm whether the model is suitable for integration and whether the initial PR should include both the average-over-time and attention classification heads. I have not started the port yet, in line with the issue’s requirement to wait for maintainer confirmation. Thank you.

  3. bruAristimunha commented on Nov 9, 2026

    @bruAristimunha
    CollaboratorAuthor

    Hey @arslan-shafique
    Please let go!

  4. arslan-shafique commented on Nov 10, 2026

    @arslan-shafique
    Contributor

    Thank you for the go-ahead, @bruAristimunha. I have completed the TCCNet port and opened #1562. It includes both the average-over-time and attention heads, pinned-source MIT attribution, variable-length masking, model and documentation registration, and independent NumPy output/gradient parity tests. The focused and shared checks pass: 14 model tests, 2 initialization tests, 7 contract tests, 11 integration tests, plus metadata and general-model checks. The PR also clearly separates implementation parity from benchmark reproduction because NinaPro DB1 requires an authenticated download and the original repository does not publish trained weights. I would appreciate your review when convenient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions