tuengominh / deap-eeg-classification

EEG-based emotion classification using DEAP dataset
115 stars 27 forks source link

您好,有个问题请教一下 #1

Closed StudentMrMa closed 1 year ago

StudentMrMa commented 1 year ago

for i in files: filename = "Pytorch//dataset_DEAP//s1.mat" + i + ".mat" trial = read_eeg_signal_from_file(filename) labels.append(trial['labels']) data.append(trial['data']) 运行这一段代码以后,第三行显示没有相应的字典或文件,找不到相应的文件,可是按照我的这个地址明明存在啊,请问是什么问题呢?

tuengominh commented 1 year ago

depends on your OS system, the full path should be sth like:

Windows: "C:\path_to_your_root_folder\PyTorch..." Linux: "home\user_name\path_to_your_root_folder\PyTorch..."

On Thu, Mar 23, 2023 at 3:01 PM ma19991122 @.***> wrote:

for i in files: filename = "Pytorch//dataset_DEAP//s1.mat" + i + ".mat" trial = read_eeg_signal_from_file(filename) labels.append(trial['labels']) data.append(trial['data']) 运行这一段代码以后,第三行显示没有相应的字典或文件,找不到相应的文件,可是按照我的这个地址明明存在啊,请问是什么问题呢?

— Reply to this email directly, view it on GitHub https://github.com/tuengominh/deap-eeg-classification/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKJOQYUI6RMPHVWCK7G25BTW5RJSBANCNFSM6AAAAAAWFHYGLA . You are receiving this because you are subscribed to this thread.Message ID: @.***>