Repository navigation
Description
Summary
Tracking issue for the sEMG hand-pose models being prepared for braindecode (the emg2pose family: VEMG2Pose, NeuroPose, SensingDynamics, Pos-MT). Their attribution headers are currently inconsistent with each other and, in places, with the provenance their own design notes record. Filing so this is settled once, before the PRs land, rather than per-PR.
The upstream facebookresearch/emg2pose repository and its released checkpoints are CC BY-NC-SA 4.0. Braindecode is BSD-3. Whether a given port inherits the upstream license depends on whether it is a port of released code or an independent implementation from the paper — that distinction is what the headers need to state, and currently do not state consistently.
Current state
| Model | Header | Issue |
|---|---|---|
neuropose.py (exact-port branch) |
none at all | It is an exact port of the released emg2pose NeuroPose baseline, and its own design note records CC BY-NC-SA 4.0 provenance, but the file carries no # Authors: or # License: block |
sensingdynamics.py |
# Authors: Braindecode contributors / BSD-3 |
Does not credit the original authors (Simpetru & Del Vecchio, bioRxiv 2022.07.29.502064) |
pos_mt.py |
single adapter author / BSD-3 | Does not credit the original authors (Hadidi et al., arXiv:2603.08212) |
vemg2pose.py |
CC BY-NC-SA 4.0, upstream author first | Consistent; can serve as the template |
Proposed convention
Follow the existing house style set by emg2qwerty.py and meta_neuromotor.py — upstream authors first, Braindecode adaptation second, inherited license named, and an explicit note when a file is not covered by braindecode's BSD-3:
# Authors: <Original authors> (original <name>)
# <Adapter> (Braindecode adaptation)
#
# License: <inherited license>
#
# Architecture adapted from <upstream URL> (<commit>), released under
# <license>. This derivative inherits the same terms and is not covered
# by braindecode's BSD-3 license.Plus, for anything non-BSD:
- set
license=on the class so the Hub model card is correct (see Hublicense=metadata defaults to bsd-3-clause for non-BSD models (incl. CC BY-NC ones) #1139); - add the file to
NOTICE.txt(see NOTICE.txt and README omit several non-BSD licensed files (incl. two CC BY-NC models) #1140); - carry a
.. warning::license block in the class docstring, asemg2qwerty.pyandmeta_neuromotor.pyalready do.
Decision needed
For each of NeuroPose, SensingDynamics and Pos-MT: is the braindecode implementation a port of released upstream code (inherits the upstream license) or an independent implementation from the paper (BSD-3, with attribution but no license inheritance)? The header, license= kwarg, NOTICE.txt entry and docstring warning all follow from that answer, and they should agree.
Activity