Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reading BENDR Datasets #83

Open
dsb589 opened this issue Jul 25, 2022 · 2 comments
Open

Reading BENDR Datasets #83

dsb589 opened this issue Jul 25, 2022 · 2 comments

Comments

@dsb589
Copy link

dsb589 commented Jul 25, 2022

Hello - I was wondering if anyone has seen this thread, and might be able to help?
@kostasde
Myself and others have had some challenges trying to get the BENDR model to read some of the datasets used for that project's various downstream tasks. Different error messages are raised depending on the extension of the file:

For the BCI_IV_2a dataset, downloaded from here, if the specified extension in downstream_datasets is -raw.fif, I get:AssertionError: datasets should not be an empty iterable
If I change the specified extension in downstream_datasets to match the extensions of the files I have downloaded (-.gdf), I get:cannot reshape array of size 520975 into shape (57855,newaxis).

For the Kaggle ERN Dataset:, downloaded from here, if specified extension in downstream_datasets is -raw.fif, I get:
AssertionError: datasets should not be an empty iterable

For the ERPBCI Dataset, downloaded from here, if the specified extension in downstream_datasets set to -.fif, I get:AssertionError: datasets should not be an empty iterable.
If the specified extension in downstream_datasets set to -.edf, I get:ValueError: file does not start with a file id tag

If you have any suggestions, please let me know. Thanks!

@jc-audet
Copy link

Hey @dsb589, did you manage to fix some of those problems? I'm currently running into the same thing and would be very grateful for some guidance!

@kostasde
Copy link
Collaborator

kostasde commented Nov 1, 2022 via email

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

No branches or pull requests

3 participants