Downloads · 30 days
0
kssrikar4/KidneySeg-UNet
KidneySeg-UNet is a machine learning model from kssrikar4. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mpl-2.0.
[](https://python.org/) [](https://pytorch.org/) [](https://monai.io/) [](LICENSE)
Downloads · 30 days
0
Access
Public
Updated Jun 1, 2026
Repo size
94.1 MB
Likes
0
Public
Click a slice to open those files.
.pth94.1 MB · 100%
From the Hugging Face model README
Two-stage segmentation pipeline for kidney and tumor delineation in abdominal CT scans, optimized for the KiTS Challenge. Combines coarse volumetric localization with high-resolution refinement using MONAI's SegResNet.
| Stage | Purpose | Input | Output |
|---|---|---|---|
| 1 (Localization) | Coarse kidney ROI extraction | 128³ downsampled volume | Binary kidney mask |
| 2 (Refinement) | Fine-grained kidney + tumor segmentation | Native-res crop + Stage 1 mask (3 channels) | Multi-class segmentation (kidney/tumor) |
DiceFocalLoss (γ=2.0) – mitigates class imbalance, emphasizes boundary accuracyAdamW + CosineAnnealingLRRandRotated, RandFlipd, RandGaussianNoise, RandGaussianSmooth, RandScaleIntensity, RandShiftIntensityEvaluated on held-out test set (Dice similarity coefficient):
| Stage | Best Epoch | Dice Score |
|---|---|---|
| 1 (Localization) | 66 | 0.87 |
| 2 (Refinement) | 110 | 0.66 |
Note: Stage 2 operates on high-resolution, tumor-sparse crops cause boundary precision is critical. The lower Dice reflects the inherent difficulty of fine-grained tumor delineation—not model failure.

The full training and inference code, along with a Streamlit‑based graphical user interface for running the model on your own CT/CBCT volumes, is available in the GitHub repository.
Mozilla Public License Version 2.0 - Feel free to use and modify