Closed arnomesse closed 4 months ago
Hi @arnomesse, Are you able to inspect the dataset that is causing the segmentation fault for NaNs, Infs, and integer values? Given that the problem seems to be occurring on only one of the datasets seems to suggest that the problem is dataset-specific.
Hi @jmoo2880, thanks for your reply, but none of these flags appears... shortening the number of time points changes nothing, while taking a subset of the variables (e.g., the first two) gives:
Number of SPIs: 215
Processing [None: je_gaussian]: 22%|███████████████████████████████▎ | 47/215 [00:00<00:03, 52.93it/s]#
#
#
#
#
Being dataset specific, would be good to inspect what about this dataset is giving the problem. Josh suggested checking for any non-real values in the problematic dataset, could also visualize it (as line plot and heat map) to check for any processes that are constant or have other clearly pathological characteristics, etc. anything that may appear to be causing a problem. If everything looks well-behaved, the only way forward would be to share the data so we can try to reproduce on our end.
Honestly, nothing looks weird from my side, I would be grateful if you could check it. I have attached one example as txt file (156 vars / 300 time points, needs to be transposed after loaded) .
No issues running pyspi on this dataset from my end. I am running pyspi v1.0.1 locally on my Mac M1 with what I assume to be the 'fast' subset (given that only 215 SPIs are being computed here). I have attached a screenshot of the resulting table with 156 rows and 33540 columns. If you would like the full results table, I can provide it by email (the file size is 43MB - a bit too large to upload here).
Hello, I am using pyspi on various datasets, but for one of them (156 vars / 300 time points) I obtain that:
Number of SPIs: 215
Processing [None: cov_GraphicalLasso]: 0%| | 0/215 [00:00<?, ?it/s] Segmentation fault (core dumped)
and I have no idea how to spot the issue!? any tip?
Thanks for your help