-
Notifications
You must be signed in to change notification settings - Fork 284
Project 7 - Improved 3D U-Net for Prostate MRI Segmentation (Abhya Garg- 48299785) #285
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
base: main
Are you sure you want to change the base?
Conversation
…tternAnalysis-2025 into topic-recognition
|
<This is an initial inspection, no action is required at this point.> File Organizing:
Problem Solving:
Model and functions:
Code design: Good. Code comment and docstring:
Difficulty: Hard. Additional Comments:
|
|
I have now fixed the readme files and about the dice test score I have
pasted the picture in the readme and you can see it in my report as well.
My dice score test result was able to show in the report I submitted on
blackboard. For instance, here is my test score again.
…On Sat, Nov 22, 2025 at 7:10 AM Zhao WANG ***@***.***> wrote:
*wangzhaomxy* left a comment (shakes76/PatternAnalysis-2025#285)
<#285 (comment)>
*<This is an initial inspection, no action is required at this point.>*
*File Organizing:*
-
*The README file is currently placed in the wrong directory. Please move
it to your project folder at
/PatternAnalysis-2025/recognition/unet_3d_segmentation instead of the
current root directory: /PatternAnalysis-2025/recognition/.*
- *In addition, please restore the original README file in the root
folder /PatternAnalysis-2025/ and /PatternAnalysis-2025/recognition/.*
- *Kindly make these corrections; otherwise, the merge request will be
rejected.*
*Problem Solving:*
- The algorithm solves the problem appropriately.
- Accuracy in testing dataset (Dice): *No test results in the report.
Just show training and validation results.*
*Model and functions:*
- It correctly uses PyTorch to construct the improved UNet 3D models
and functions.
- Good data augmentation.
- Properly split and use the train/validation/test datasets.
*Code design:* Good.
*Code comment and docstring:*
- Good code comments
- Good function docstrings
- *Minimal* header block
*Difficulty:* Hard.
*Additional Comments:*
- Good commits
- *The README design can be more structured but the report content is
comprehensive. Well done!*
—
Reply to this email directly, view it on GitHub
<#285 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJCKZBYTYW2X3TS2DZBLBKT3555SVAVCNFSM6AAAAACLLOFGVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTKNRUGU4TMNJSHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
|
I even added dice score output log again as Screenshot.png |
Marking
Marked as per the due date and changes after which aren't necessarily allowed to contribute to grade for fairness. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi I already fixed and made the requested changes to fix the file locations. Kindly have a look at them and please reconsider the feedback action require marks. |
Improved 3D U-Net for Prostate MRI Segmentation
This project implements an Improved 3D U-Net architecture to perform multi-class segmentation of prostate MRI scans from the HipMRI Study Open Dataset.
The goal is to automatically identify and delineate anatomical structures (prostate zones, bladder, rectum, etc.) from volumetric MRI data, reducing the need for time-consuming manual annotations.
The model enhances the traditional 3D U-Net by incorporating residual connections, dropout regularization, and a multi-class Dice + Cross Entropy loss, leading to more stable training and better generalization across classes.
Training was conducted on the UQ Rangpur GPU Cluster (A100) for 15 epochs, with consistent convergence and reliable segmentation quality.
Key Features
/home/groups/comp3710/HipMRI_Study_open/(semantic MRI & labels)Implementation Highlights
modules.py: Defines the Improved 3D U-Net modeldataset.py: Loads and normalizes 3D MRI and label volumestrain.py: Handles GPU training and Dice evaluation per epochpredict.py: Generates predicted segmentation maps and saves resultstrain_gpu.slurm: SLURM job script for automated GPU executionvisualization/: Contains final loss and Dice coefficient plots, segmentation visualsResults
The Dice coefficient improved steadily across epochs, reaching 0.74, confirming effective learning and boundary recognition for prostate structures.
Conclusion
The Improved 3D U-Net demonstrated robust segmentation capabilities on 3D MRI data.
Residual learning, dropout, and Dice optimization contributed to smoother boundary detection and stable convergence.
With further fine-tuning (e.g., extended epochs or data augmentation), the model can achieve near-clinical accuracy for prostate delineation tasks.