Skip to content

Include Signal-JEPA models - #703

Merged
bruAristimunha merged 22 commits into
braindecode:masterfrom
PierreGtch:signal-jepa
Mar 4, 2025
Merged

bruAristimunha merged 22 commits into
braindecode:masterfrom
PierreGtch:signal-jepa

Conversation

@PierreGtch

Copy link
Copy Markdown
Collaborator

Add models from Signal-JEPA (https://www.doi.org/10.3217/978-3-99161-014-4-003)

The SignalJEPA_Contextual, SignalJEPA_PostLocal and SignalJEPA_PreLocal architectures are meant for classification so they integrate well into the braindecode API.

However, the SignalJEPA arch was introduced for self-supervised pre-training and its output shape depends on the input shape. Not sure how/if we should integrate it.

@PierreGtch

Copy link
Copy Markdown
Collaborator Author

CC @tomMoral @MTangermann

@PierreGtch
PierreGtch marked this pull request as draft March 4, 2025 08:43
@PierreGtch
PierreGtch marked this pull request as ready for review March 4, 2025 10:14
Comment thread braindecode/models/modules.py Resolved
Comment thread braindecode/models/modules.py Resolved
Comment thread braindecode/models/signal_jepa.py Resolved
Comment thread braindecode/models/signal_jepa.py Resolved
Comment thread braindecode/models/signal_jepa.py Resolved
Comment thread braindecode/models/signal_jepa.py Resolved
Comment thread braindecode/models/signal_jepa.py Resolved
Comment thread braindecode/models/signal_jepa.py Resolved
Comment thread braindecode/models/signal_jepa.py Resolved
Comment thread braindecode/models/signal_jepa.py Resolved
@codecov

codecov Bot commented Mar 4, 2025 •

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 88.69565% with 26 lines in your changes missing coverage. Please review.

Project coverage is 87.30%. Comparing base (cfe0139) to head (741214d).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #703      +/-   ##
==========================================
+ Coverage   87.25%   87.30%   +0.04%     
==========================================
  Files          77       78       +1     
  Lines        6978     7208     +230     
==========================================
+ Hits         6089     6293     +204     
- Misses        889      915      +26     

@bruAristimunha bruAristimunha left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just missing more tests and when you can merge!

@PierreGtch

Copy link
Copy Markdown
Collaborator Author

Awesome, thanks for the figures @bruAristimunha !!
I added the tests

@bruAristimunha

Copy link
Copy Markdown
Collaborator

Thank you @PierreGtch, amazing to have your model here ;)

@bruAristimunha
bruAristimunha merged commit 4cc9e4e into braindecode:master Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants