Open haesleinhuepf opened 2 years ago
the most common bug issue in the upstream library is PSF/OTF shape. when you get this error, can you try padding/cropping the PSF? can't remember if it applies to Z as well, but maybe try something like 64 x 128 x128?
If that solves it, then perhaps we can figure out the failure patterns and pad/trim stuff on the python side before passing to C... (or, we can try to fix at https://github.com/scopetools/cudaDecon). If you want to figure out which library the error is in, you could also try using the CLI for cudadecon
I see, we had similar padding issues in clij-fft. Anyway, I just tried image and psf with shape 64x64x64, and the issue remains...
can you try the demo data and tell me if that works? https://github.com/tlambert03/pycudadecon/tree/master/test/test_data
and if not, could you send me your data?
I've just tested with your data and the images are still black: https://github.com/haesleinhuepf/BioImageAnalysisNotebooks/blob/main/docs/18a_deconvolution/deconvolution_pycudadecon_test.ipynb
You find my example data in the same repository:
https://github.com/haesleinhuepf/BioImageAnalysisNotebooks/blob/main/data/psf.tif
Thanks for digging into this!
Hi Talley @tlambert03 ,
I'm just exploring pycudadecon and running into some issues. After applying it to some images, I retrieve output images with all pixels zero. Sometimes, I see errors like this one (I need to restart the juypter kernel then and afterwards, the same code works):
I'm running on Windows 10 using an NVidia RTX 3050 Ti, using CUDA 10.2, GPU Driver version 30.0.14.9649.
You can reproduce my experiment using this notebook: https://github.com/haesleinhuepf/BioImageAnalysisNotebooks/blob/main/docs/18a_deconvolution/deconvolution_pycudadecon.ipynb
It's not urgent btw. Any hint is appreciated though!
Thanks! Robert