Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional Torch Multiprocessing in nnUNet for Improved Security and Compatibility #2614

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

LennyN95
Copy link

@LennyN95 LennyN95 commented Nov 22, 2024

This PR resolves #2556.

  • Implementation of preprocessing based on a single process
  • Introduce new environment variables to set -npp and -nps

We have done some internal testing and get identical results between the latest nnunetv2==2.5.1 and with our proposed patch.

surajpaib and others added 6 commits November 21, 2024 08:15
New environment variables:
- nnUNet_npp
- nnUNet_nps

Default values remain unchanged, cli parameter -npp and -nps overwrite environment variables if set.
@LennyN95
Copy link
Author

@FabianIsensee I have noticed some (significant) differences between nnunetv2==2.0 and nnunetv2==2.5.1. This is beyond the scope of this topic / PR, but since some of our contributors have used this version, we'd like to see if and to what extent we can offer them a solution as well. In general, I am curious if you have any idea what changes might have led to these differences (we are talking about a Dice score of 0.9451 between these versions for a lung nodule segmentation task).

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.

Optional Torch Multiprocessing in nnUNet for Improved Security and Compatibility
3 participants