An open API service indexing awesome lists of open source software.

https://github.com/imvision12/segformer-tf

A Keras 3 Implementation of "SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers"
https://github.com/imvision12/segformer-tf

image-segmentation segformer segmentation semantic-segmentation tensorflow transformer

Last synced: about 1 month ago
JSON representation

A Keras 3 Implementation of "SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers"

Awesome Lists containing this project

README

        

# SegFormer-tf

This repository is about an implementation of the research paper "SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers"

SegFormer is a Transformer-based framework for semantic segmentation that unifies Transformers with lightweight multilayer perceptron (MLP) decoders.

#### Model Architecture :



#### Detailed overview of MiT :



# Usage:

Clone Github Repo:

```bash
$ git clone https://github.com/IMvision12/SegFormer-tf
$ cd SegFormer-tf
```

Then import model

```py
import tensorflow as tf
from models import SegFormer_B3
model = SegFormer_B3(input_shape = (224, 224, 3), num_classes = 19)
print(model.summary())
```

# References

[1] SegFormer paper: https://arxiv.org/pdf/2105.15203

[2] Official SegFormer Repo: https://github.com/NVlabs/SegFormer