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
I'm currently working on SSVEP paradigm and trying to load the Lee2019_SSVEP dataset. However when loading it with SSVEP filter-bank paradigm, I'm getting the following error "RuntimeError: events cannot be set directly."
I think the error is comming from a manipulation in MNE that is not allowed, from what I searched but I can't get passed it.
My versions are :
Python 3.9.10
Moabb 0.4.6
MNE 1.0.3
A simple code to give the error would be :
from moabb.datasets import Lee2019_SSVEP
from moabb.paradigms import FilterBankSSVEP
# Does not work when settings events and filters
moabb_paradigm = FilterBankSSVEP(n_classes=2, events=["8.57", "12.0"], filters=[[8.1, 9.1], [11.5, 12.5]])
# Does not work much when just setting a number of classes
# moabb_paradigm = FilterBankSSVEP(n_classes=2)
dataset = Lee2019_SSVEP()
Xt, yt, _ = moabb_paradigm.get_data(dataset=dataset, subjects=[1])
I also join a screen of the error I'm getting if you are interested.
The text was updated successfully, but these errors were encountered:
I could reproduce the error with newer version of MNE (> 1.0.0). With older MNE versions (like 0.24.1), both settings events+filters or n_classes are working, I obtain Xt signal of shape (100, 62, 4001, 2) and (100, 62, 4001, 2)
Hi,
I'm currently working on SSVEP paradigm and trying to load the Lee2019_SSVEP dataset. However when loading it with SSVEP filter-bank paradigm, I'm getting the following error "RuntimeError: events cannot be set directly."
I think the error is comming from a manipulation in MNE that is not allowed, from what I searched but I can't get passed it.
My versions are :
Python 3.9.10
Moabb 0.4.6
MNE 1.0.3
A simple code to give the error would be :
I also join a screen of the error I'm getting if you are interested.
The text was updated successfully, but these errors were encountered: