You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function call to detect_maxima_box results in this error:
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
Cell In[6], line 1
----> 1 local_maxima = cle.detect_maxima_box(blurred_image)
3 cle.imshow(local_maxima)
File ~\mambaforge\envs\bio39\lib\site-packages\pyclesperanto\_decorators.py:72, in plugin_function.<locals>.worker_function(*args, **kwargs)
69 bound.arguments[key] = get_device()
71 # call the decorated function
---> 72 return function(*bound.args, **bound.kwargs)
File ~\mambaforge\envs\bio39\lib\site-packages\pyclesperanto\_tier2.py:88, in detect_maxima_box(input_image, output_image, radius_x, radius_y, radius_z, device)
64 @plugin_function
65 def detect_maxima_box(
66 input_image: Image,
(...)
71 device: Device = None,
72 ) -> Image:
73 """Detects local maxima in a given square/cubic neighborhood.
74
75 Pixels in the resulting image are set to 1 if there is no other pixel in a
(...)
86 output_image
87 """
---> 88 from ._pyclesperanto import _DetectMaximaBoxKernel_Call as op
90 op(
91 device,
92 src=input_image,
(...)
96 radius_z=int(radius_z),
97 )
98 return output_image
ImportError: cannot import name '_DetectMaximaBoxKernel_Call' from 'pyclesperanto._pyclesperanto' (C:\Users\haase\mambaforge\envs\bio39\lib\site-packages\pyclesperanto\_pyclesperanto.cp39-win_amd64.pyd)
I'm working on Windows 10 and the error is reproducible on both of my GPUs: AMD Vega GPU (integrated) and NVidia RTX 3050 Laptop GPU.
The text was updated successfully, but these errors were encountered:
When executing this demo notebook:
https://github.com/clEsperanto/pyclesperanto/blob/main/demos/find_local_maxima.ipynb
The function call to
detect_maxima_box
results in this error:I'm working on Windows 10 and the error is reproducible on both of my GPUs: AMD Vega GPU (integrated) and NVidia RTX 3050 Laptop GPU.
The text was updated successfully, but these errors were encountered: