...

U-net Medical Segmentation with TensorFlow and Keras (Polyp segmentation)

How to segment polyp colonoscopy using U net

Last Updated on 22/04/2026 by Eran Feit

This tutorial provides a step-by-step guide on how to implement and train a U-Net model for polyp segmentation using TensorFlow/Keras.

The tutorial is divided into four parts:

🔹 Data Preprocessing and Preparation In this part, you load and preprocess the polyp dataset, including resizing images and masks, converting masks to binary format, and splitting the data into training, validation, and testing sets.