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
I have a long python script that performs various computations with numpy, pandas, scipy etc.
At one place, I have replaced my scipy.ndimage.binary_fill_holes() with dip.FillHoles() and it works as expected and is faster. But at the end of the script, python crashes and I get
zsh: segmentation fault
I don't get the error at FillHoles stage but only at the very end (related to destructor, garbage collector maybe?)
Any tips would be appreciated.
System information:
MacOS
Python3.12
pip installed in virtualenv
The text was updated successfully, but these errors were encountered:
It would be useful to know the exact set of steps needed to reproduce the bug. It likely involves an incompatibility between DIPlib and some other package you're using. We know this for example happens with some Conda-built packages (see #130). Here's a quick guide on how to create a minimal reproducible example: https://stackoverflow.com/help/minimal-reproducible-example. I know that's quite a lot of effort, but it's the only way we can learn what might be causing this issue. Much appreciated!
Component
PyDIP - 3.5.1 (latest)
Describe the bug
I have a long python script that performs various computations with numpy, pandas, scipy etc.
At one place, I have replaced my
scipy.ndimage.binary_fill_holes()
withdip.FillHoles()
and it works as expected and is faster. But at the end of the script, python crashes and I getzsh: segmentation fault
I don't get the error at
FillHoles
stage but only at the very end (related to destructor, garbage collector maybe?)Any tips would be appreciated.
System information:
The text was updated successfully, but these errors were encountered: