ravikiran-mane / FBCNet

FBCNet: An Efficient Multi-view Convolutional Neural Network for Brain-Computer Interface
MIT License
120 stars 31 forks source link

I download all the data as required but when I run the Code something wrong #1

Open daimagaibudui opened 2 years ago

daimagaibudui commented 2 years ago

image it seems wrong image

The data type of d is ‘dict’, so I tried modified the code:out = np.zeros([*d['data'].shape, len(self.filtBank)]) but it doesn't work

lwlBCI commented 2 years ago

Did you solve your problem, did you run this code successfully, I also encountered some problems and would like to share with you.

daimagaibudui commented 2 years ago

Did you solve your problem, did you run this code successfully, I also encountered some problems and would like to share with you.

Yes, what kind of problem did you meet?

lwlBCI commented 2 years ago

I can't run this code and it shows that there is a problem with the dimension of the data. I followed the path provided by the author and the data is ready, but it still prompts such an error. If you don't mind, you can send your complete code and data to mine email? @.***

故 里 @.***

 

------------------ 原始邮件 ------------------ 发件人: "ravikiran-mane/FBCNet" @.>; 发送时间: 2022年10月21日(星期五) 晚上9:17 @.>; 抄送: "故 @.**@.>; 主题: Re: [ravikiran-mane/FBCNet] I download all the data as required but when I run the Code something wrong (Issue #1)

Did you solve your problem, did you run this code successfully, I also encountered some problems and would like to share with you.

Yes, what kind of problem did you meet?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

daimagaibudui commented 2 years ago

sorry I can't see your email, it is encoded by the website I can only see @.

lwlBCI commented 2 years ago

Well, please upload your runnable code and data to your git if you can, I will download it, thank you so much!

lwlBCI commented 2 years ago

Hello, I still can't run this code, if you can, can you go to my profile to check my email and send me the runnable code?

故 里 @.***

 

------------------ 原始邮件 ------------------ 发件人: "ravikiran-mane/FBCNet" @.>; 发送时间: 2022年10月21日(星期五) 晚上9:32 @.>; 抄送: "故 @.**@.>; 主题: Re: [ravikiran-mane/FBCNet] I download all the data as required but when I run the Code something wrong (Issue #1)

sorry I can't see your email, it is encoded by the website I can only see @.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

ravikiran-mane commented 2 years ago

@lwlBCI Can you share the error message?

ravikiran-mane commented 2 years ago

@daimagaibudui Good to know that you have solved the issue. A clarification regarding your error: image As shown in the image, data1 is supposed to be a dictionary with fields 'data' and 'label'. 'data' field holds the actual EEG data in the np array format. Hence, d needs to be defined as d = data1['data']. In your version of the code, I fear that you have redefined d = data which caused this issue.

lwlBCI commented 2 years ago

In the data preparation stage, I can't run the correct file "rawMat", obviously the correct one should be 221000288, but I can only run 22*1000, I suspect it is the fetchAndParseKoreaFile function in savaData.py or parseBci42aDataset There is a problem, if you can see it, please get in touch with me, my email can be seen in my personal homepage

ravikiran-mane commented 1 year ago

@lwlBCI Can you share which dataset you are working with and how you downloaded the dataset (from physionet or the official BCI competition page)?

ravikiran-mane commented 1 year ago

@lwlBCI I have issued a patch to saveData.py file. Do download the latest version and share if it solves your issue.

tinghong97 commented 1 year ago

Why i'm using the code provided, but still have a problem that data extract to the rawMat folder. My rawMat folder is empty

dadayu990518 commented 1 year ago

您好,我仍然无法运行这段代码,如果可以的话,您可以去我的个人资料查看我的电子邮递并将可运行的代码发给我吗?**.   …… ------------------ 原始邮件 ------------------ 发件人: "ravikiran-mane/FBCNet" @.>; 发送时间: 2022年10月21日(星期五) 晚上9:32 @.>; 抄送: "故 @*.**@*.>; 主题: Re: [ravikiran-mane/FBCNet] I download all the data as required but when I run the Code something wrong (Issue #1) sorry I can't see your email, it is encoded by the website I can only see @. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

麻烦请问一下您,您运行出来了吗?