CECNL/MAtt

Found a bug when getting the x_train dataset

liquanoba opened this issue · 1 comments

Try to get x_train dataset through the code: 'x_train =torch.Tensor(train['x_train']).unsqueeze(1)' in GetBci2a.py, occur error :KeyError: 'x_train'

  1. print(train.keys()) not found key 'x_train' 'y_train' 'y_test' ‘x_test’ contain (['header', 'version', 'globals', 'data'])
  2. print train dataset info
  3. EEG data have preprocessed?

133403983034dde45b0b29693f61f18
68004a2df7ef593c5a2051ab8704079

CECNL commented

The data was already be processed in advance.
We also provided the data link on our readme file.
Perhaps you can execute the script after you download the data
It would be fine if you want to preprocess the data and rewrite the data loader by yourself.
Detail preprocess steps are illustrated in our paper. All preprocessing steps are common operations in EEG signal processing, such as down sample and channel selection.