Kilosort 2 fails on extremely large "spike" trains
还没有人认领这个 Issue。
评估
调研方向
Start by inspecting the v2.0.2 mainLoop/runTemplates.m entry point and the repository's existing Docker files. Verify how the container runs Kilosort 2 for large spike trains, then ensure the requested fallback to economy-size decomposition is included and the container can complete this case without the gpuArray/eig convergence error.
由索引模型根据 Issue 内容生成。
描述
KS2 throws an error when it finds a huge number of spikes:
"Number of spikes before applying cutoff: 36449620",
"----------------------------------------Error using gpuArray/eig",
"EIG did not converge at index = 881672."
There is a very easy fix that doesn't appear in the docker and the docker is the only way to run KS2 on later versions of Ubuntu.
Would it be possible to add a container with a try and catch added to runTemplates.m in order to use the economy decomposition when huge spiketrains are found?
try
[A, B, C] = svdecon(UA);
catch
[A, B, C] = svd(UA,"econ");
end
The economy-size decomposition removes extra rows or columns of zeros from the diagonal matrix of singular values, S, along with the columns in either U or V that multiply those zeros in the expression A = USV'. Removing these zeros and columns can improve execution time and reduce storage requirements without compromising the accuracy of the decomposition.
https://www.mathworks.com/help/matlab/ref/double.svd.html#d126e1780458
I added this issue to the KS2 repo but I don't have much hope of it being incorporated there now that they are focused on KS4+.
- 主要语言
- Dockerfile
- 星标
- 10
- 派生
- 8
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
SpikeInterface/spikeinterface-dockerfiles 的其他 Issue
-
docker, kilosort4, blackwell可能已有人在做 @alejoe91 于 159 天前认领。 未关闭
SpikeInterface/spikeinterface-dockerfiles#91 · 已指派 1 人 ·
-
难度 4/5 3-5 天 新手友好度 35/100
SpikeInterface/spikeinterface-dockerfiles#89 · 2 条评论 ·
-
难度 3/5 1-2 天 新手友好度 25/100
-
难度 5/5 一周以上 新手友好度 25/100
SpikeInterface/spikeinterface-dockerfiles#75 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
查看 SpikeInterface/spikeinterface-dockerfiles 的全部 Issue
相似的 Issue
-
area:security bug effort:M github_actions priority:P1
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
app:web meta:ops
难度 2/5 半天 新手友好度 78/100
osu-tournament-rating/otr#1113 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
dam-agents/dam#5330 ·
维护者通常 1 天内回复
-
good first issue
难度 2/5 半天 新手友好度 88/100
-
frontend intermediate pycon-davao tests
难度 2/5 1-3 小时 新手友好度 86/100
nedpals/pwa-karaoke#68 ·
维护者通常 1 天内回复