-
Notifications
You must be signed in to change notification settings - Fork 393
Description
Hi,
I'm trying to use CaImAn to analyse neurons calcium transients, I'm very interested in the segmentation part of the program, however my kernel keeps dying when I run the:
cnmf_refit.estimates.evaluate_components(images, cnmf_refit.params, dview=cluster)
I'm not sure what to do as I cannot get more specific information, as I don't know why the kernel keeps dying (I am using jupyter notebook).
I doesn't seem to be a memory problem, at least for what I understood. I also used a cropped (and less heavy video) to test if the kernel kept dying, and it did. Also by using the windows task manager, there is no full memory usage.
I don't know if it is a problem of the memory map created, as I did not run the motion correction part, I created the memmap with
memmapped_prova = cm.save_memmap([movie_path], base_name='memmap_', order='C', border_to_0=0, dview=cluster)
Yr, dims, T = cm.load_memmap(memmapped_prova, mode='r+') #not sure if r+ is useful or not, but also without it the kernel dies
images = np.reshape(Yr.T, [T] + list(dims), order='F')
Moreover, I also tried to use the demo_pipeline.ipynb, with the provided data and parameters, I also did the motion correction and everything, however when i reach the:
cnmf_refit.estimates.evaluate_components(images, cnmf_refit.params, dview=cluster);
the kernel dies.
I am also not sure how to solve this problem. If you need more information I'll be happy to provide you with everything!
If you could help me it would be fantastic,
Thanks in advance!
Nik