Coder Social home page Coder Social logo

mmsegmentation_swin's Introduction

Swin Transformer For Semantic Segmentation Of Human Body Images

This repo contains the supported code and configurations to reproduce Swin Transformer for semantic segmentation.

Goal

The goal is to do semantic segmentation on photos that can include one or more person.

Dataset source

The dataset is available on download here

Dataset preparation

In order to create annotation data I converted masks to label format [0,1].
The file structure of the dataset is shown below:

├── data
│   ├── full_body_tik_tok
│   │   ├── annotations
│   │   │   ├── training_1D
│   │   │   │   ├── xxx.png
│   │   │   │   ├── yyy.png
│   │   │   │   ├── zzz.png
│   │   │   ├── validation_1D
│   │   ├── images
│   │   │   ├── training
│   │   │   │   ├── xxx.png
│   │   │   │   ├── yyy.png
│   │   │   │   ├── zzz.png
│   │   │   ├── validation

Installation

See get started for installation

Train and test

Navigate to train and test in colab
Notes:

Web application

Navigate to flask app to make prediction in web
Note:

  • Do not forget put your ngrok token

Results

Refer to youtube.

Name mAcc mIoU Model
swin_tiny_patch4_window7_224 0.9291 0.7851 model
swin_base_patch4_window7_224 0.9015 0.7319 model
fcn_r101_d8 0.9798 0.9009 model
pspnet_r50-d8 0.9611 0.9356 model

mmsegmentation_swin's People

Contributors

secretstar112 avatar

Stargazers

 avatar LoveNui avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.