-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Preprocessing messes up the shape #2673
Comments
Hi @adelka-m, This is something that can happen because when the data has large regions that only contain background in the label and "0"s in the image, they can be cropped away. To be sure that this is the case: Could you please rerun the preprocessing with the "--verbose" option and paste an example of the output for samples where the shape changes or upload the entire output to a file and upload it? Best regards, Carsten |
Oh, ok. I also thought that this could be the reason. (It is very unbalanced problem, little foreground.) |
Hi @adelka-m, However, if you wish to disable it, you need to write a Custom Preprocessor where to Best regards, |
Ok. Thanks a lot for your help. I will try it. |
Hi all,
first of all thanks for your awesome work. I have a bit non standard use of the nnUnet (and it does not work, but I was expecting it a bit).
However, I have an issue with the shapes of the input data. My nii.gz files are always (112,128,128) and spacing (1.0,1.0,1.0). But the npz files created by
creates very random resolution of the data:
001: data: (1, 112, 128, 100), seg: (1, 112, 128, 100)
002: data: (1, 112, 102, 128), seg: (1, 112, 102, 128)
003: data: (1, 112, 128, 120), seg: (1, 112, 128, 120)
004: data: (1, 112, 128, 125), seg: (1, 112, 128, 125)
005: data: (1, 112, 128, 128), seg: (1, 112, 128, 128)
Could anyone point me to where is the problem? Or is it normal?
Thanks a lot in the advance!
The text was updated successfully, but these errors were encountered: