-
Notifications
You must be signed in to change notification settings - Fork 70
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
memory error in get_bmus , np.unravel_index(activation_map.argmin(axis=1), #80
Comments
It would help a lot if you gave an mcve. Thanks. |
I got the same error message when running somoclu on a medium sized data set with 90GB RAM.
Since I couldn't find a solution for that problem except for using smaller data sets/ map dimensions I build a little workaround to get it running on bigger data sets for now (even though the runtime is much higher now, it hasn't killed my memory yet): The above mentioned code has to be commented out and replaced by:
Replace the 200 with a higher number to increase runtime (but carefully, if it is too high the memory error might occur again). |
This is a good solution. Would you mind creating a PR to replace the single call to cdist? Thanks. |
I am getting this memory error on a very small dataset:
However my machine is powerful enough to handle this:
The text was updated successfully, but these errors were encountered: