Found a bug when getting the x_train dataset
liquanoba opened this issue · 1 comments
liquanoba commented
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'
- print(train.keys()) not found key 'x_train' 'y_train' 'y_test' ‘x_test’ contain (['header', 'version', 'globals', 'data'])
- print train dataset info
- EEG data have preprocessed?
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.