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

Dataset used in conformer.py #8

Open
Yaqian-Xu opened this issue Mar 13, 2023 · 8 comments
Open

Dataset used in conformer.py #8

Yaqian-Xu opened this issue Mar 13, 2023 · 8 comments

Comments

@Yaqian-Xu
Copy link

First, thank you for open-source your code.
And I'm wondering where the .mat data you used in conformer.py, to be specific, line #278, #294 is from.
It seems neither the data format of BCI_competition_IV2a/IV2b, which is .gdf, nor the data format of SEED. These are three datasets claimed in README.md.
Thank you for clarifying.

@rmib200
Copy link

rmib200 commented Mar 22, 2023

I'm having the same issue. Seems like the way the data was formatted in a very particular way. And a lot of the preprocessing was particular for that use case. If you could share a sample file would be very helpful, please. @eeyhsong

@eeyhsong
Copy link
Owner

@Yaqian-Xu @rmib200
Sorry for the late reply!

Thanks for your interest!

@caikw0602
Copy link

Would you please share the shape of data label with us? Thank you for your sharing!

@valentindjangone
Copy link

I'm interested as well in the shape of the data label, it seems like it's not a 1D array.
Thank you for your great contribution and for helping us out. @eeyhsong

@caikw0602 I'm mentioning you in case you found the right shape ?

@eeyhsong
Copy link
Owner

eeyhsong commented May 8, 2023

hello @caikw0602, @valentindjangone
Sorry for the late reply. It is just the 1D array.

@toncho11
Copy link

Hi @eeyhsong

If I use the mat files from http://bnci-horizon-2020.eu/database/data-sets/001-2014/, it is not clear where are the labels for each trial.
If I use you script getData.m it requires a folder called "true_labels". Where is this folder?

@eeyhsong
Copy link
Owner

eeyhsong commented Jul 25, 2023

Hello @toncho11,
You can download the results files here https://www.bbci.de/competition/iv/results/ .
🤝🤝

@YamengGu
Copy link

YamengGu commented Apr 9, 2024

Cannot run sload function successfully. Here is the error:
SLOAD: mexSLOAD('C:\Users\yameng.gu\BCI-eeg-date\CNN\data2\A01T.gdf') failed - the slower M-function is used.
Unrecognized function or variable 'H'.

Error in sload (line 1232)
if strcmp(H.TYPE,'CNT');

Error in getData (line 14)
[s, HDR] = sload(dir_1);

Wonder if you can upload an example input data for Conformer python file. So i can create my own. Thanks

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

7 participants