-
Notifications
You must be signed in to change notification settings - Fork 186
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
Problems of using new version of spike interface #1825
Comments
Can you share the full script? |
"recording_list = []
"ch = [14,5,26,19,4,25,3,0,8,20,10,24,16,2,22,15,30,21,6,17,1,9,23,31,27,29,13,7,18,11,28,12, probe_H10 = generate_multi_shank(num_shank=2,num_columns=3,
sorting = ss.run_kilosort2(recording=multirecording, output_folder=r'E:\Data and Analysis\N3 64 molex opto\spike sorting raw\Day 11\M3 day 11 no turn 2') |
@farazmoradi you mentioned you also had problems running KS on a single recording. Does the error only appear with the conatenated one? |
For the concatenated recordings I receive the second picture, for single recordings I receive the first one (non zero exit code). |
Can you run with |
(base) d:\Mossy Code Backup 18 May 2023>E: (base) E:>cd E:\data_analysis\N3 64 molex opto\spike sorting raw\T9 oct18\sorter_output (base) E:\data_analysis\N3 64 molex opto\spike sorting raw\T9 oct18\sorter_output>matlab -nosplash -wait -r "kilosort2_master('E:\data_analysis\N3 64 molex opto\spike sorting raw\T9 oct18\sorter_output', 'C:\Users\BeiqueLab\Downloads\Kilosort-2.0\Kilosort-2.0')" Error running kilosort2SpikeSortingError Traceback (most recent call last) File c:\ProgramData\anaconda3\Lib\site-packages\spikeinterface\sorters\runsorter.py:148, in run_sorter(sorter_name, recording, output_folder, remove_existing_folder, delete_output_folder, verbose, raise_error, docker_image, singularity_image, delete_container_files, with_output, **sorter_params) File c:\ProgramData\anaconda3\Lib\site-packages\spikeinterface\sorters\runsorter.py:174, in run_sorter_local(sorter_name, recording, output_folder, remove_existing_folder, delete_output_folder, verbose, raise_error, with_output, **sorter_params) RUNNING SHELL SCRIPT: E:\data_analysis\N3 64 molex opto\spike sorting raw\T9 oct18\sorter_output\run_kilosort2.bat File c:\ProgramData\anaconda3\Lib\site-packages\spikeinterface\sorters\basesorter.py:269, in BaseSorter.run_from_folder(cls, output_folder, raise_error, verbose) Spike sorting failed. You can inspect the runtime trace in E:\data_analysis\N3 64 molex opto\spike sorting raw\T9 oct18/spikeinterface_log.json. |
This is a single recording. Do you want me to paste the spikeinterface_log.json too? |
Do you see the Matlab banner? Are you running from the E drive? |
Yes, the MATLAB menu comes up for a while (detecting good channels and filtering). My codes are in drive D and my data is in Drive E. |
I don't see the Matlab output from your print |
Mmm. Do you want me to take a screen video while running the code? |
Can you copy the entire output and paste it? It's better if you use the code notation:
|
|
Thanks, but again can you include the entire output? Not just the error. Basically I'd like to see when KS is failing, so we need to check the MATLAB output |
Sure, let me see how can copy the MATLAB output. |
That's a weird! after this the Matlab closes and I receive that error. Also, the spike sorting is performed without error when I do it with Kilosort GUI in MATLAB!! |
I see! Can you try to recompile Kilosort? From the CUDA folder, run |
I think I should try to reset my windows and get back t you :)
|
Yeah I figured it could have been a GPU related issue! |
Was this solved @farazmoradi ? |
Hi, The problem is solved for single recordings, however I still receive error for concatenated recordings.
|
Based on #2509 this has been fixed in version 0.100.0 |
Hi all,
Recently, I reinstalled my spike interface to have access to the latest version and I faced some issues.
I load the data using binaryrecordingextractor and tried to perform the spike sorting with Kilosort2. I received the error in the first picture. Then I tried to do the spike sorting with the Kilosort2 GUI in the MATLAB and spike sorting was done without any problem! So I am not sure what happens in the spike interface that I received that error, but same recording, in MATLAB GUI, no error was received!
When I try to do spike sorting on concatenated recordings, I receive the error on the attached image. However, the concatenated .dat file was produced in the folder and I tried that again in MATLAB GUI and spike sorting was done without any problem.
Mentioned errors happened after I installed the new version and in the previous version I didn't have any problem.
Thanks a lot for your help.
The text was updated successfully, but these errors were encountered: