Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Jupyter notebook crash on input of large sparse distance matrix #133

Open
xgao32 opened this issue Sep 22, 2021 · 1 comment
Open

Jupyter notebook crash on input of large sparse distance matrix #133

xgao32 opened this issue Sep 22, 2021 · 1 comment

Comments

@xgao32
Copy link

xgao32 commented Sep 22, 2021

Hello, I have a distance matrix represented in COO format (I,J, value) that can be accessed here. There are 149K vertices and almost 1.7 million edges, the file is just 47 MB.

When I try to run Ripser on the whole distance matrix or a subset of it, my Jupyter notebook crashes.

image

Here is a minimal example to replicate the issue. The same holds when I run this on Google Colab with 12Gb of RAM and I suspect it may be related to #121 and this on the Ripser repo. Getting this to work would be vital to my research and I pray that someone can point me in the right direction .

@ulupo
Copy link
Contributor

ulupo commented Nov 10, 2021

Hi! #132 might help you, but this has not been integrated yet into a PyPI release by the looks of it. Perhaps you can try installing the package from sources?

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

No branches or pull requests

2 participants