-
Notifications
You must be signed in to change notification settings - Fork 52
Labels
bugSomething isn't workingSomething isn't working
Description
Hello
I am trying to fit the ASR class to my EEG data with the following code
asr = ASR(sfreq=self.srate, cutoff=20, method="euclid") train_idx = np.arange(time_range[0] * self.srate, time_range[1] * self.srate, dtype=int) asr.fit(filtered_eeg[:7, train_idx])
However, it is causing the error:
cannot import name '_check_est' from 'pyriemann.utils.covariance'
After looking at covariance.py there is no command 'import _check_est' present in the newest version, so how I fixed this was installing pyRiemann 0.3 instead of 0.7 which fixed the error. I believe the requirement.txt need to be updated to prevent this error or updating the code to adapt to the new changes present in the covariance.py file
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working