SuperBruceJia / EEG-Motor-Imagery-Classification-CNNs-TensorFlow

EEG Motor Imagery Tasks Classification (by Channels) via Convolutional Neural Networks (CNNs) based on TensorFlow
https://iopscience.iop.org/article/10.1088/1741-2552/ab4af6/meta
204 stars 47 forks source link

IndexError: list index out of range #9

Open ajaireshman267 opened 8 months ago

ajaireshman267 commented 8 months ago

Dear @SuperBruceJia i have tried both your suggestion and wei suggestion but still this error persists i will mention the error below , please help me Start to save the File! Traceback (most recent call last): File "Read_Raw_Data_Save_Into_Matlab_Files.py", line 209, in X_105_C5, y_105_C5 = load_raw_data(electrodes=electrodes, subject=subject, num_classes=nclasses) File "Read_Raw_Data_Save_Into_Matlab_Files.py", line 200, in load_raw_data return np.array(trials, dtype=np.float64).reshape((len(trials),) + trials[0].shape + (1,)), np.array(labels, dtype=np.float64) IndexError: list index out of range

rongmengmeng commented 1 month ago

请问你解决这个问题了吗?