#8383rd of 88 in Learning and cookbooks

unet

Keras U-Net for binary image segmentation on the ISBI membrane dataset

Stars
4.9k
License
MIT
Last commit
Mar 2026
Language
Jupyter Notebook
Stars, last 29 weeks+48
20 Apr 2026: 4,892 stars27 Apr 2026: 4,894 stars4 May 2026: 4,895 stars11 May 2026: 4,897 stars18 May 2026: 4,897 stars25 May 2026: 4,899 stars1 Jun 2026: 4,899 stars8 Jun 2026: 4,901 stars15 Jun 2026: 4,904 stars22 Jun 2026: 4,907 stars29 Jun 2026: 4,909 stars6 Jul 2026: 4,911 stars13 Jul 2026: 4,914 stars20 Jul 2026: 4,917 stars27 Jul 2026: 4,922 stars3 Aug 2026: 4,923 stars10 Aug 2026: 4,925 stars17 Aug 2026: 4,927 stars24 Aug 2026: 4,928 stars31 Aug 2026: 4,928 stars7 Sept 2026: 4,929 stars14 Sept 2026: 4,930 stars21 Sept 2026: 4,932 stars28 Sept 2026: 4,934 stars5 Oct 2026: 4,934 stars12 Oct 2026: 4,935 stars19 Oct 2026: 4,935 stars26 Oct 2026: 4,938 stars2 Nov 2026: 4,940 stars9 Nov 2026: 4,940 stars

4,892 on 20 Apr 20264,940 on 9 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

A Keras functional-API implementation of the U-Net architecture for biomedical image segmentation. It includes the ISBI challenge membrane data (30 images, 512x512), augmentation via Keras ImageDataGenerator, and a main.py script and notebook that train for 5 epochs and write predicted masks. The README reports about 0.97 accuracy with binary crossentropy loss.

Who it is for: Students learning image segmentation with Keras

Strengths

  • Small, readable reference U-Net in the Keras functional API
  • Ships the preprocessed ISBI membrane dataset in data/membrane
  • Includes augmentation code and a training notebook (trainUnet)
  • Runs end to end from a single main.py

Weaknesses

  • README targets Python 2.7-3.5 and Keras >= 1.0, which are outdated
  • Trained on only 30 images for a single binary segmentation task
  • Reports accuracy only, with no IoU or Dice metrics
  • No pretrained weights or tagged releases

What it needs

  • GPU optional
  • Needs TensorFlow, Keras
  • Models: U-Net, Keras

Quick answers

Is unet open source?

Yes. Its code is on GitHub under the MIT license.

Does unet need a GPU?

No. It runs on a CPU and can use a GPU when you have one.

Also in Learning and cookbooks

See all 88
Also in Learning and cookbooks
RankProjectScore
1ai-engineering-from-scratchHands-on AI engineering curriculum with 542 lessons across 20 phases78.5k stars+10,997 (+16%) in 30 daysMIT91 out of 100
2generative-ai-for-beginners21-lesson course on building generative AI apps in Python and TypeScript123.4k stars+2,347 (+1.9%) in 30 daysMIT83 out of 100
3rag_techniquesCollection of 42 runnable notebooks implementing RAG techniques30.3k stars+563 (+1.9%) in 30 dayscustom license81 out of 100
#4cs249r_bookOpen textbook and course materials for machine learning systems engineering30.1k stars+1,266 (+4.4%) in 30 dayscustom license81 out of 100
#5ai-for-beginners24-lesson AI curriculum with notebooks in PyTorch and TensorFlow Live demo ↗ (opens in a new tab)70.7k stars+1,156 (+1.7%) in 30 daysMIT80 out of 100