Skip to content

ERROR: Read_Raw_Data_Save_Into_Matlab_Files.py #8

@chiachi926

Description

@chiachi926

Hello, I'm running the code "Read_Raw_Data_Save_Into_Matlab_Files.py" under the environment with python version= 2.7.18, but I always get an error shows below, is there anything wrong? Thanks!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions