zshubin / DDGCNN

DDGCNN for ssvep
MIT License
9 stars 2 forks source link

data-preprocessing: #1

Open Tangchaoq opened 3 months ago

Tangchaoq commented 3 months ago

Dataset-preprocessing: The data-processing file will report an error when importing the MAT dataset. For example, the BCI dataset will report the error Traceback (most recent call last): File "E:tcqDDGCNN-maindata_processing.py", line 18, in sub_list = os.listdir(os.path.join(data_path, sess)) NotADirectoryError: [WinError 267] Invalid directory name. : 'E:/data1/S1.mat'

Tangchaoq commented 3 months ago

To change this: the dataset used is the brain-computer interface research group at Tsinghua University

zshubin commented 3 months ago

Two different datasets are tested in the experiment, please check your data path and re-define the path route in configuration.

Tangchaoq commented 3 months ago

屏幕截图 2024-03-16 165928 I've changed the path, but I'm still getting an error。

Tangchaoq commented 3 months ago

![Uploading 屏幕截图 2024-03-16 165928.png…]()

zshubin commented 3 months ago

the 'sess' variables was defined for OpenBMI dataset, You can change the path in this line of code to a higher-level path for each subject's data.

zshubin commented 3 months ago

or you can print the joined path of this code to verify the correctness.