Skip to content

Adding Labram - #578

Merged
agramfort merged 44 commits into
braindecode:masterfrom
bruAristimunha:labram
Mar 19, 2024
Merged

agramfort merged 44 commits into
braindecode:masterfrom
bruAristimunha:labram

Conversation

@bruAristimunha

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread braindecode/models/modules.py Resolved
Comment thread braindecode/models/modules.py Resolved
Comment thread braindecode/models/modules.py Resolved
Comment thread braindecode/models/modules.py Resolved
Comment thread braindecode/models/modules.py Resolved
Comment thread braindecode/models/modules.py Resolved
Comment thread braindecode/models/modules.py Resolved
Comment thread braindecode/models/functions.py Resolved
Comment thread braindecode/models/labram.py Resolved
Comment thread braindecode/models/labram.py Resolved
@codecov

codecov Bot commented Mar 7, 2024 •

Copy link
Copy Markdown

Codecov Report

Merging #578 (8ffa0d1) into master (65870a3) will decrease coverage by 0.14%.
The diff coverage is 81.70%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #578      +/-   ##
==========================================
- Coverage   84.20%   84.06%   -0.14%     
==========================================
  Files          64       65       +1     
  Lines        4912     5227     +315     
==========================================
+ Hits         4136     4394     +258     
- Misses        776      833      +57     

@bruAristimunha

Copy link
Copy Markdown
Collaborator Author

Hi @agramfort!

I'm adding the Labram model, ICLR spotlight 2024. It says it scales BIOT results with Temple University. The model itself wasn't that clean, so I spent a lot of time cleaning up the code, commenting, and interacting with the author to answer some questions (https://github.com/935963004/LaBraM)

The model has a lot of inspiration from another computer vision model called BITv2, so many decisions come from elsewhere. BiTv2 is a 2022 visual transformer with attention windows.

The model scales well in the article, but I didn't conduct a more exhaustive self-supervised test to test it. I hope to do this when I finish the integration with another model that studies better self-supervised EEG (Navidfoumani/EEG2Rep#1).

Thanks in advance for your review!

@bruAristimunha
bruAristimunha requested a review from agramfort March 7, 2024 13:38

@agramfort agramfort 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.

could you add a test like for other networks?

Comment thread braindecode/models/modules.py Resolved
Comment thread braindecode/models/functions.py Resolved
Comment thread braindecode/models/labram.py Resolved
Comment thread braindecode/models/modules.py Resolved
@agramfort
agramfort merged commit 7c15663 into braindecode:master Mar 19, 2024
@bruAristimunha
bruAristimunha deleted the labram branch April 5, 2024 15:10
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