fchest / DBPNet

DBPNet model
30 stars 3 forks source link

How are the labels made? #2

Open ZhongCaihandsome opened 6 months ago

ZhongCaihandsome commented 6 months ago

Hi @fchest , thank you so much for open-source the code!

I would like to know how to do the labelled csv file. For example, is it feasible to download the pre-processed mat format DTU data set from the official website and convert it directly into csv format? Or do you need to do something else?

Harvey

fchest commented 6 months ago

Hello @ZhongCaihandsome. csv file reading in the code is just one way of reading data, you can choose directly read the data from the mat file. Certainly, you can store the data from the mat file into a csv file for further manipulation. However, reading directly from the mat file is the best option.

ZhongCaihandsome commented 6 months ago

Thank you for your reply. I saw in the part of open source code, the label selected when loading data is not clearly stated. Could you explain it further? 1713784888084

fchest commented 6 months ago

This is my own csv file name and path. You don't have to be exactly like me, I'm just providing an example. In the previous line, I read the labels of the data set, and in the following line, I read the corresponding EEG data. If you just use mat files to read, you don't need to worry about this code of mine.