-
Notifications
You must be signed in to change notification settings - Fork 2
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
nnUNetv2 problem with changing patch_size (hc-leipzig-7t-mp2rage) #70
Comments
Okay. Based on our today's in-person discussion, I thought that you were modifying the patch size only along the S-I axis. (to ensure that the model always has the context about all the rootlet levels). But based on the screenshot, you're actually changing all the axes. So maybe the problem might be indeed related to memory issue. |
Agree with Jan's comment about the memory issue. The patch size might be too big! AND, more importantly, the patch-size you chose is not divisible by |
fyi I manually modified the |
Thanks for the suggestions and for the help @valosekj and @naga-karthik - I tried to modify only the SI patch size - with the value 368 (23 * 16) in SI it crashed again because of memory, so I tried a smaller multiple - 352 (22 * 16) and with that it started to train correctly. |
nnUNetv2 problem with changing patch_size
Based on the information from the Ivadomed meeting, I took the following steps with hc-leipzig-7t-mp2rage dataset:
nnUNetv2_plan_and_preprocess
and then tried to modify thepatch_size
parameter (original: [128, 192, 96]) in thennUNetPlans.json
file tomedian_image_size_in_voxels.
Then I tried to run
nnUNetv2_train
with the modifiednnUNetPlans.json
file. This caused the error (see below).Then I changed it back to the original patch_size and the training started correctly, so the problem will be probably with changed
patch_size
.@naga-karthik and @valosekj, have you had a similar experience with nnUNet training, please? Do you have any suggestions for how to handle this error, please?
error
The text was updated successfully, but these errors were encountered: