Replies: 4 comments 4 replies
-
Hi, @Nastii22. Do you need help with visualization only, or something else? |
Beta Was this translation helpful? Give feedback.
-
Hi the code looks fine to me, the aggregation should work. (patch over_lap of 2 voxel is small, but this is not the problem) |
Beta Was this translation helpful? Give feedback.
-
Does the model learn something, I guess the training loss is going down ? (what the end DICE score on train and validation ?) I had strange results in the past, when I forget the softmax. but here it looks fine, there are no sofmax in the model, you add it before computing the training loss and also after the prediction, .... all good Not sure if necessary, but in my code, I use
what is the shape of your |
Beta Was this translation helpful? Give feedback.
-
Hi @romainVala , @fepegar I wanted to follow up on my previous question. Could you kindly provide an update on my query? Your assistance is crucial for my project's progress, and I would greatly appreciate any guidance or solutions you can offer. Thank you in advance for your time and support. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm working on a multi-class 3D segmentation project which contains 3 classes, including background.
I've utilized Medical image segmentation with TorchIO, MONAI & PyTorch Lightning the example provided in GitHub repository (https://github.com/fepegar/torchio-notebooks/blob/main/notebooks/TorchIO_MONAI_PyTorch_Lightning.ipynb). The key difference in my approach is that I'm training the model in a patch-based manner as provided in TorchIO: a tutorial, GitHub repository (https://github.com/fepegar/torchio-notebooks/blob/main/notebooks/TorchIO_tutorial.ipynb).
Could you help me understand how to modify the testing part of the patch-based method to fit multi-class segmentation? Specifically, I need to visualize and check the model output for each class alongside the input image and the corresponding labels for each class.
Any assistance would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions