-
Notifications
You must be signed in to change notification settings - Fork 20
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
fm.fit taking forever #21
Comments
We would need some more information to be able to troubleshoot this. Does model fitting finish at all, or is it hanging? How long is "forever"? What is the data you are trying to fit and what settings are you using? |
Thank you for quick response! I am simply running the cell in 'fooof_example_one_spectrum.m', using the provided data in 'ch_dat_one.mat' The model never finishes even when I let it run for >10 minutes. I tried changing the default settings as follows, and still have the same issue. |
Same here. But I get one additional output warning:
Some details of my Machine:
The installed packages are
|
I was able to solve it with the answer on StackOverflow. As the answer suggests "this issue sometimes can arise when Python attempts to use the MathWorks version of py.sys.setdlopenflags(int32(10))
py.importlib.import_module('ssl') and you should be good to go. |
in the matlab wrapper fooof.m, I can get through the first few lines just fine, but then when the line "fm.fit(freqs, power_spectrum, f_range)" is executed, it's taking forever.
I think this is not a matlab/python problem since the first few lines run just fine (e.g. py.numpy.array, pylist, etc.).
I'm using python 3.7 w/ cpython on matlab 2020a.
The text was updated successfully, but these errors were encountered: