andreribeiro87/unet3plus-efficientnet-kvasir-seg
Image Segmentation • 13M • Updated
• 56 • 1
image imagewidth (px) 256 256 | mask imagewidth (px) 256 256 |
|---|---|
A preprocessed and augmented version of the Kvasir-SEG polyp segmentation dataset, used to train the models in the UNet-A benchmark.
Kvasir-SEG is a publicly available dataset of 1,000 colonoscopy images annotated with binary polyp masks, introduced by Jha et al. (2020). This version adds offline data augmentation to the training split and provides fixed validation and test partitions for reproducible benchmarking.
| Split | Images | Notes |
|---|---|---|
train |
4,800 | Original 800 images × 6 (1 original + 5 augmented copies), 256 × 256 |
validation |
100 | Original validation split from Kvasir-SEG, 256 × 256 |
test |
100 | Original test split from Kvasir-SEG, 256 × 256 |
The original Kvasir-SEG provides pre-defined train/validation/test splits (800/100/100). Each original training image produces one resized copy (256 × 256) plus five augmented variants:
Augmentation was performed with a fixed seed (42) for full reproducibility.
{
"image": Image(RGB), # colonoscopy frame
"mask": Image(L), # binary polyp mask (0 = background, 255 = polyp)
}
from datasets import load_dataset
ds = load_dataset("andreribeiro87/kvasir-seg-augmented")
sample = ds["train"][0]
image = sample["image"] # PIL.Image RGB
mask = sample["mask"] # PIL.Image L (grayscale)
The underlying Kvasir-SEG images are distributed under CC BY 4.0.