Closed mabbasi6 closed 7 months ago
The DoG filter is crashing because the deconvolution did not work. For some reason, the GPU you have does not have enough memory allocated. You can tell the deconvolution crashed because the output is not correct and you got a error,
Runtime error: ret returned -4 at /home/bnorthan/code/i2k/clij/clij2-fft/native/clij2fft/clij2fft.cpp:878
I pushed a much more aggressive memory management strategy, which may take longer to run but should work. You'll need to pull the new changes using git pull
and the reinstall using pip install -e .
The memory management currently assumes that there is 12 GB of GPU memory available for use. If that is more than you can assign on the cluster, then I can make the expected available GPU memory a parameter of spots3d and you can experiment until you find a setting that works.
You'll also need to update both spots3d and napari-spot-detection to have the code use the more aggressive memory management. If you have local copies, you can following the same strategy as above.
If you pip installed from the internet, you'll need to do pip install -U spots3d@git+https://git@github.com/qi2lab/spots3d@main#egg=spots3d
and same for napari-spot-detection.
This issue is resolved as well when I re-downloaded the repos. Thank you!
Hi, I tried using the "setup_and_run_localization_automated.py" file for "opm3/20240202_ECL_IMG_GEL2/processed_v2" data, and I have been getting this error:
A runtime error is made when deconvolution is running, and this is the output of deconvolution:
Apparently, DoG also crashes no matter how much I increase the RAM (from 16 GB to 128 GB). It always says Out of memory allocating 998,092,800 bytes.