Monai RuntimeError in training for 3D Multilabel segmentation using 3D U-Net #3999
Unanswered
ankitabuntolia
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I have updated transform and then tried again, but still have a similar tensor size mismatch. I uploaded the current code and issue at https://stackoverflow.com/questions/71618942/monai-runtimeerror-sizes-of-tensors-must-match-except-in-dimension-1-expecte |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
My Task: Multi-label segmentation using 3D U-Net
Material I am following:
Tutorial: https://github.com/Project-MONAI/tutorials/blob/master/3d_segmentation/spleen_segmentation_3d.ipynb
Github Monai discussion: Segmentation example on multiple labels #415
My input Image and label size are 512x496x49 (HxWxD). I have 4 labels including background. I am using Spleen 3D tutorial. These are what my code looks like:
Transform
Dataloader
Model
Training
After starting the training, it is throwing this error:
I am new to this library, so can someone let me know what am I doing wrong?
Many thanks and Best Regards,
Ankita
Beta Was this translation helpful? Give feedback.
All reactions