KvanNoord / 3D-CNN-EEG-Emotion-Classification

Openly available framework:
11 stars 0 forks source link

load data #1

Closed lfb6054 closed 2 years ago

lfb6054 commented 3 years ago

Hello!How to load data? Format of deap data set 32 40 40 * 8064?

KvanNoord commented 3 years ago

Hi,

You must ask permission for the DEAP dataset at: http://www.eecs.qmul.ac.uk/mmv/datasets/deap/download.html The script is applied to the "preprocessed" variant and is indeed in 324040*8064 format.

Kind regards, K. van Noord

lfb6054 commented 3 years ago

I've downloaded the "deap" dataset, but I really don't know how to download it in "load" Data. M "file: % Load raw data % Datafile should have size [32, 40, 32, 8064] !! EEG data = load('EEG data.mat '); EEG data = EEG data.new data; % Load labels EEG labels = load('EEG labels'); EEG labels = EEG labels.EEG_ labels;

How to load 32x40x32x8064 data with this instruction, I think there is a problem. Thank you for your guidance.

KvanNoord commented 3 years ago

Hi,

In that case, the data you've downloaded from the DEAP website should be named "EEG_data.mat" and the labels should be named "EEG_labels". But you can just change the names of the filenames, it doesn't matter. As long as they are put in the form of a 32x40x32x8064 tensor.

32 (subject) x 40 (trials) x 32 (channels) x 8064 (time)

Hope this helps.