GitPedia

Keras segmentation

Get started with Semantic Segmentation based on Keras, including FCN32/FCN8/SegNet/U-Net

From lsh1994·Updated December 16, 2025·View on GitHub·

Implementation is not original papers. The purpose of this project is to get started with semantic segmentation and master the basic process. The project is written primarily in Python, first published in 2018. Key topics include: fcn, keras, segmentation.

Latest release: v3.0UNet
December 24, 2019View Changelog →
<h1 align="center"><a href="https://github.com/lsh1994/keras-segmentation" target="_blank">keras-segmentation</a></h1> <p align="center"> Implementation is not original papers. The purpose of this project is to get started with semantic segmentation and master the basic process. </p>

<font color=red>FCN32/8、SegNet、U-Net Model published. Thank you for your support.</font>

中文说明

Environment

ItemValueItemValue
keras2.2.4OSwin10
tensorflow-gpu1.10/1.12Python3.6.7

Reference

https://github.com/divamgupta/image-segmentation-keras
https://github.com/ykamikawa/SegNet

Data:
https://drive.google.com/file/d/0B0d9ZiqAgFkiOHR1NTJhWVJMNEU/view?usp=sharing
Data or:
https://github.com/alexgkendall/SegNet-Tutorial/tree/master/CamVid

Project Strcutre

在这里插入图片描述

python visualizeDataset.py: Visual samples
在这里插入图片描述

python train.py: Execution train
python predict.py: Execution predict

You can modify the parameter in project switching model or cloning the historical version.

About

FCN32

Visualization results:
在这里插入图片描述

FCN8

Visualization results:
在这里插入图片描述

SegNet

U-Net

Contributors

Showing top 1 contributor by commit count.

View all contributors on GitHub →

This article is auto-generated from lsh1994/keras-segmentation via the GitHub API.Last fetched: 6/21/2026