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

Fails after processing 1 batch #265

Open
tenorio-vivianesgm opened this issue May 24, 2023 · 0 comments
Open

Fails after processing 1 batch #265

tenorio-vivianesgm opened this issue May 24, 2023 · 0 comments

Comments

@tenorio-vivianesgm
Copy link

Hi all,

I'm new to kilosort3, and I cannot pass the first batch of preprocessing.
I'm using kilosort 3, on matlab 2022a, for 32-ch u-probe neural recordings.
I load the data and map alright, (see snippet below), but after clicking "Run all", only one batch is processed and I get the following error message:

`Getting channel whitening matrix...
Channel-whitening matrix computed.
Time 0s. Loading raw data and applying filters...
Time 1s. Finished preprocessing 1 batches.
Error using indexing
Subscript indices must either be real positive integers or logicals.

Error in extractTemplatesfromSnippets (line 56)
wTEMP = dd(:, round(linspace(1, size(dd,2), nPCs)));

Error in datashift2 (line 4)
[wTEMP, wPCA] = extractTemplatesfromSnippets(rez, NrankPC);

Error in ksGUI/runPreproc (line 732)
obj.rez = datashift2(obj.rez, 1);

Error in ksGUI>@(,)obj.runPreproc() (line 333)
'Callback', @(,)obj.runPreproc());

Error while evaluating UIControl Callback.`

image

I have an NVIDIA T400 GPU installed and all drivers are running OK.

Any thoughts on what I might be doing wrong?

Thanks!

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

No branches or pull requests

1 participant