Skip to content

[FIX] Solve annotation issue - #696

Merged
bruAristimunha merged 4 commits into
NeuroTechX:developfrom
bruAristimunha:solve-annotation-issue
Feb 18, 2025
Merged

bruAristimunha merged 4 commits into
NeuroTechX:developfrom
bruAristimunha:solve-annotation-issue

Conversation

@bruAristimunha

Copy link
Copy Markdown
Collaborator

As describe in #663

@bruAristimunha

Copy link
Copy Markdown
Collaborator Author

This fixed it for EPFLP300, partially for Hiss (the problem here is that the final instances have inconsistent sizes, the last 3 to be precise).

I don't have the Schirrmeister2017 dataset on my machine right now, and Huebner2017 and 2018 are other matters related to the lack of a stimulus channel.

the code in case you want to test:

from braindecode.datasets import MOABBDataset
from braindecode.preprocessing import create_windows_from_events

from moabb.datasets import EPFLP300, Hinss2021, Huebner2017, Huebner2018, Schirrmeister2017

dataset = MOABBDataset('Schirrmeister2017', subject_ids=[1])

# Create windows using braindecode function
windows_dataset = create_windows_from_events(
    dataset,
    preload=True,
    drop_last_window=True,
)

@bruAristimunha
bruAristimunha merged commit d644a87 into NeuroTechX:develop Feb 18, 2025
@bruAristimunha
bruAristimunha deleted the solve-annotation-issue branch February 18, 2025 11:20

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

Thanks for looking into this @bruAristimunha!!

PierreGtch

This comment was marked as duplicate.

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