You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mldl@mldlUB1604:~/ub16_prj/bci-challenge-ner-2015/preproc$ python preproc.py
../data/train/Data_S02_Sess01.csv
Traceback (most recent call last):
File "preproc.py", line 60, in
X.append(sigF[idx:idx+epoc_window,:])
TypeError: slice indices must be integers or None or have an index method
The text was updated successfully, but these errors were encountered:
epoc_window is a real value, whereas the indices must be integer values, so a simple solution is to convert the epoc_window type by calling int function: int(epoc_window).
mldl@mldlUB1604:~/ub16_prj/bci-challenge-ner-2015/preproc$ python preproc.py
../data/train/Data_S02_Sess01.csv
Traceback (most recent call last):
File "preproc.py", line 60, in
X.append(sigF[idx:idx+epoc_window,:])
TypeError: slice indices must be integers or None or have an index method
The text was updated successfully, but these errors were encountered: