-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
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):
---------------------------------------------------------------------------
OSError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_1376/3905717240.py in <module>
----> 1 deconvolved = decon(image, psf)
2
3 imshow(deconvolved)
~\miniconda3\envs\bio_39\lib\site-packages\pycudadecon\deconvolution.py in decon(images, psf, fpattern, **kwargs)
375 while True:
376 out.append(
--> 377 rl_decon(next_im, output_shape=ctx.out_shape, **decon_kwargs)
378 )
379 try:
~\miniconda3\envs\bio_39\lib\site-packages\pycudadecon\deconvolution.py in rl_decon(im, background, n_iters, shift, save_deskewed, output_shape, napodize, nz_blend, pad_val, dup_rev_z)
165 if not im.flags["C_CONTIGUOUS"]:
166 im = np.ascontiguousarray(im)
--> 167 RL_interface(
168 im,
169 nx,
~\miniconda3\envs\bio_39\lib\site-packages\pycudadecon\_ctyped.py in __call__(self, *args, **kw)
71
72 def __call__(self, *args, **kw):
---> 73 return self._func(*args, **kw)
74
75 def __repr__(_self):
OSError: [WinError -529697949] Windows Error 0xe06d7363
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels