Skip to content

semantic segmenation with unet ( people segmentation)

Notifications You must be signed in to change notification settings

hxu1991/semantic_segmentation

 
 

Repository files navigation

Semantic_Segmentation

This repo shows a sample code to implement semantic segmenation (people segmentation) using unet + mobilenetv2. The dataset I used was coco2017.

Getting Started

Prerequisites

  • Keras 2.4.3
  • Tensorflow 2.2.0
  • Coco API
  • Opencv for python

Usage via command line

Training the Model

python unet_semantic_seg_train.py

Training Stats

The training set is coco/train2017 and the validation set is coco/val2017. The pretained model under model is getting 96.42% accuracy for training set and 92.9% accuracy for validation set.

Inference

python unet_semantic_seg_inference.py

The testing set used for inference is test2017. Some results are shown below:

References

About

semantic segmenation with unet ( people segmentation)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%