Avoid segmentation error during kilosort2 cluster splitting
See original GitHub issueHi We have been experiencing segmentation errors during cluster splitting with kilosort2.5 We resolved this by installing a different version of the mkl library and, in our fork, setting the corresponding (system specific) paths as environment variables in kilosort_master.m as follows:
setenv('BLAS_VERSION', '/usr/lib/x86_64-linux-gnu/mkl/libblas.so');
setenv('LAPACK_VERSION', '/usr/lib/x86_64-linux-gnu/mkl/liblapack.so');
Allowing this in df spikeinterface is pretty much the last step we need before we can get rid of our fork Do you think that would be possible? Do you have a preference about how to do this? We could for instance add the paths to BLAS and LAPACK as kilosort parameters.
We’ll be happy to submit a PR implementing whichever approach seems preferable. Best Tom
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Segmentation fault on splitting cluster · Issue #199 - GitHub
I'm having the same problem as issue #85 although that one is closed. I printed mean(diag(StS)) in every iteration as suggeested and what...
Read more >A Fully Automated Approach to Spike Sorting - ScienceDirect
In other situations, clustering is automated, but the user must curate the results by selecting which clusters to reject, merge, or even split...
Read more >Evaluation and resolution of many challenges of neural spike ...
Electrophysiological recordings from multiple neurons across multiple channels pose great difficulty for spike sorting of single neurons.
Read more >Spike sorting based on shape, phase, and distribution ...
Spike sorting based on shape, phase, and distribution features, and K-TOPS clustering with validity and error indices.
Read more >Improved Quality Control for Spike Sorting and Clustering to ...
Figure 1. Clusters Merging Errors: Example. A. Upper panel shows 'ON-OFF' categorization for Cluster 17 from blocks 95 to 195. X axis refers...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@alejoe91 : Maybe it would be more convinient to add some option in kilosort with theses env variable that could injected in the generated script as suggested. If we use the slurm laucher then the solution of @Dradeliomecus will not work but if it is inside the shell script then it should be OK.
Fixed by https://github.com/SpikeInterface/spikeinterface/pull/893