-
Notifications
You must be signed in to change notification settings - Fork 66
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
Question on conformer_seed_1s_5fold.py #41
Comments
I modifed the script
To the following:
In this way the numpy array saved to this has the form: (3394, 62, 200) Thanks! |
Hello, I have a question about why this project needs to use validation set accuracy as the final result. I haven't seen this project separate the original "T" into two parts for training and validation, while "E" is used for testing; Why can we directly use "T ·" as training and "E" as validation? Or the recognized methods are all done in this way. |
Hello @edugm94, Thanks for your interest! The input of the net is like (N, 1, channel, time samples). Do you need to use np.expand_dims? What are the error details? |
Hello @rokanfeermecer486, It's a tough question. The conformer paper only validated the 'ideal' performance and compared with other methods, such as ConvNet and EEGNet, in the same cases. You may find some explanations of the validation strategy in this paper https://doi.org/10.1016/j.neuroimage.2023.120209. |
@eeyhsong Yes, I am currently struggling with this issue during my graduate studies. In fact, I should focus more on the innovation and practicality of the model, as well as the effectiveness of the experiments. I have conducted many EEG experiments, but I still do not have a good idea on how to improve the performance of the results. I am just constantly trying, and there are various methods in the literature. I hope that in the future, I can also have a unique approach and understanding of the application of deep learning models in EEG processing. Very good project, thank you very much for your reply, and I wish you a smooth scientific research work. |
@eeyhsong, Thanks for your response. What I understood is the following: A model is trained for each participant and session (S1_session1.npy, for example). The code associated with the previous explanation is attached below (happening in method
Can you please confirm that I understood it correctly? Thanks so much for your time and response! |
@edugm94 ,Hello, I have the same problem in my preparation of SEED dataset, I would like to ask you how to fix the code? Thank you, looking forward to your reply! |
Dear authors,
Thanks for sharing the code! I am trying to run it on the SEED dataset.
I am trying to understand how the 5-fold cross validation is done.
I have run
seed.m
andseed_process_slide_cv.py
, to prepare the SEED dataset.When I run the script:
conformer_seed_1s_5fold.py
I get an error in the methodget_source_data()
.What shape should have the attribute
self.all_data
when running this line of code:self.all_data = np.load(self.root + 'S%d_session1.npy' % self.nSub, allow_pickle=True)
.Maybe I did a mistake when preprocessing the dataset. Any help is more than welcome!
Thanks in advance :D
The text was updated successfully, but these errors were encountered: