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
Traceback (most recent call last):
File "/home/shiba/Desktop/EEG-signal-classification-master/train.py", line 50, in
train()
File "/home/shiba/Desktop/EEG-signal-classification-master/train.py", line 42, in train
pipe.fit(train, y_train)
File "/home/shiba/anaconda2/lib/python2.7/site-packages/sklearn/pipeline.py", line 164, in fit
Xt, fit_params = self._pre_transform(X, y, **fit_params)
File "/home/shiba/anaconda2/lib/python2.7/site-packages/sklearn/pipeline.py", line 145, in _pre_transform
Xt = transform.fit_transform(Xt, y, **fit_params_steps[name])
File "/home/shiba/anaconda2/lib/python2.7/site-packages/sklearn/base.py", line 458, in fit_transform
return self.fit(X, y, **fit_params).transform(X)
File "/home/shiba/Desktop/EEG-signal-classification-master/train.py", line 21, in fit
self.W = eegtools.spatfilt.csp(class_covs[0], class_covs[1], 6)
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/home/shiba/Desktop/EEG-signal-classification-master/train.py", line 50, in
train()
File "/home/shiba/Desktop/EEG-signal-classification-master/train.py", line 42, in train
pipe.fit(train, y_train)
File "/home/shiba/anaconda2/lib/python2.7/site-packages/sklearn/pipeline.py", line 164, in fit
Xt, fit_params = self._pre_transform(X, y, **fit_params)
File "/home/shiba/anaconda2/lib/python2.7/site-packages/sklearn/pipeline.py", line 145, in _pre_transform
Xt = transform.fit_transform(Xt, y, **fit_params_steps[name])
File "/home/shiba/anaconda2/lib/python2.7/site-packages/sklearn/base.py", line 458, in fit_transform
return self.fit(X, y, **fit_params).transform(X)
File "/home/shiba/Desktop/EEG-signal-classification-master/train.py", line 21, in fit
self.W = eegtools.spatfilt.csp(class_covs[0], class_covs[1], 6)
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: