Skip to content

Conversation

@evertdeman
Copy link

I am getting some warning like

../usr/local/lib/python3.10/dist-packages/batchgenerators/augmentations/utils.py:23
  /usr/local/lib/python3.10/dist-packages/batchgenerators/augmentations/utils.py:23: DeprecationWarning: Please use `label` from the `scipy.ndimage` namespace, the `scipy.ndimage.measurements` namespace is deprecated.
    from scipy.ndimage.measurements import label as lb

this should fix that

@evertdeman
Copy link
Author

Ah, I see there is another PR open for this: #108

Any reason we should not merge this?

@truenicoco
Copy link

@FabianIsensee any way to merge this? This is a trivial change.

Maybe you never noticed the warnings because DeprecationWarnings are suppressed by default and you typically only see them via test suites runners which "unsuppress" them (pytest does this). I saw some references to https://grugbrain.dev/ in the nnUNet source code, if I may quote it to try to convince you:

test save grug many, many uncountable time and grug love and respect test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants