-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LinAlgError: SVD did not converge when plotting data (raw.plot()) #8784
Comments
with what data is that?
|
@agramfort , we used the 'sample' dataset that is used in the tutorial |
what does
mne.sys_info()
give you?
… |
If you're using NumPy with OpenBLAS it could be OpenMathLib/OpenBLAS#3044 which won't be fixed until an OpenBLAS release then NumPy release. Or if you're using NumPy with MKL you could be caught by https://community.intel.com/t5/Intel-Distribution-for-Python/Bug-in-GESDD-but-not-GESVD/m-p/1105241 which has been around for 5 years and stopped getting replies from Intel folks. We can work around either one probably with a If it does not fix the problem, you could be hitting this issue because you have |
@FriederikeScholten can you double check that And in the meantime, feel free to try using |
Thanks for the suggestions. I do not know how (to my knowledge I did not change anything), but the plot function works fine now, also for my colleague. Just to follow up, the code: all(np.isfinite(proj['data']['data']).all() for proj in raw.info['projs']) evaluates True. |
I am currently going through the tutorials provided by MNE and when I try to use the built-in plot function, I often get an error that the SVD did not converge (see attached picture). Two other colleagues have the same problem (using Spyder & Visual Studio Code). One of them made the experience that it does work sometimes after re-running the cell multiple times. Any idea what the issue might be here?
The text was updated successfully, but these errors were encountered: