Skip to content
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

Suggestions for Unable to allocate 276. GiB for an array with shape (161877, 228942) and data type float64 #203

Open
bitcometz opened this issue Sep 6, 2022 · 0 comments
Labels

Comments

@bitcometz
Copy link

Hello,
Thanks for this great software !!!
But I run with some errors:

Code:

magic_operator = magic.MAGIC(n_jobs=80, random_state=1)

Error:

--> 758     data_imputed = diff_op_t.dot(data_imputed)
    760 # fast magic
    761 # a while loop is used when the dimensions of the diffusion matrix
    762 # are greater than those of the data matrix, or when t is not specified
    763 # (so as to allow for the calculation of the optimal t value)
    764 else:
    765     i = 0

MemoryError: Unable to allocate 276. GiB for an array with shape (161877, 228942) and data type float64

Could you give some suggestions ?
Thanks !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant