vision image-segmentation generated_from_trainer

Model Details

Model Description

The Segments-Sidewalk-SegFormer-B0 model is a semantic segmentation model fine-tuned on the sidewalk-semantic dataset. It is based on the SegFormer (b0-sized) architecture and has been adapted for the task of segmenting sidewalk images into various classes, such as road surfaces, pedestrians, vehicles, and more.

Model Architecture

The model architecture is based on SegFormer, which utilizes a hierarchical Transformer Encoder and a lightweight all-MLP decoder head. This architecture has been proven effective in semantic segmentation tasks, and fine-tuning on the 'sidewalk-semantic' dataset allows it to learn to segment sidewalk images accurately.

Intended Uses

The Segments-Sidewalk-SegFormer-B0 model can be used for various applications in the context of sidewalk image analysis and understanding.

Some of the intended use cases include

image/png

Limitations

Ethical Considerations

When using and deploying the Segments-Sidewalk-SegFormer-B0 model, consider the following ethical considerations:

Usage

# Load model directly
from transformers import AutoFeatureExtractor, SegformerForSemanticSegmentation

extractor = AutoFeatureExtractor.from_pretrained("ayoubkirouane/Segments-Sidewalk-SegFormer-B0")
model = SegformerForSemanticSegmentation.from_pretrained("ayoubkirouane/Segments-Sidewalk-SegFormer-B0")