Skip to content
ModelListedExternal
Download

Kvasir Unet Scratch

This is a custom U-Net built from scratch for polyp segmentation in endoscopic images.

KindOtherVersionRevision f3cd397

Model source

Kind
Other
File size
1.86 MB
Version
vRevision f3cd397
Updated
Sep 27, 2026
Downloads
12
Tasks
Image segmentation
Source
Hugging Face

Source description

Kvasir-SEG Custom U-Net

This is a custom U-Net built from scratch for polyp segmentation in endoscopic images.

Model Details

  • Architecture: 4-layer U-Net with BatchNorm and Dropout2d.
  • Loss Function: Focal + Dice Loss (So the Network sees the small polyps)
  • Resolution: Trained on 256x256 images.
  • Data Augmentations: Spatial augmentations and color variation

Performance

  • Validation IoU: 0.463803

Sources

1 source
Hugging FacePrimaryVersion f3cd397fe6739a5f43cf3c27dcb436615b3963a2
huggingface.co/Shushunya/kvasir-unet-scratch/tree/f3cd397fe6739a5f43cf3c27dcb436615b3963a2

Verified Sep 27

Model artifacts

1 artifact

model.safetensors

safetensors · 1.86 MB · SHA-256 ef19e1e81c2e…3220 · Hugging Face

Download

Source excerpts

2 excerpts

--- license: mit tags: - pytorch - image-segmentation - medical - kvasir-seg --- # Kvasir-SEG Custom U-Net This is a custom U-Net built from scratch for polyp segmentation in endoscopic images. ## Model Details * **Architecture:** 4-layer U-Net with BatchNorm and Dropout2d. * **Loss Function:** Focal + Dice Loss (So the Network sees the small polyps) * **Resolution:** Trained on 256x256 images. * **Data Augmentations:** Spatial augmentations and color variation ## Performance * **Validation IoU:** 0.463803

Source context: 12 downloads · 0 likes · Pipeline image-segmentation · Repo Shushunya/kvasir-unet-scratch