fastseg-large

Use Case and High-Level Description

fastseg-large is an accurate real-time semantic segmentation model, pre-trained on Cityscapes dataset for 19 object classes, listed in <omz_dir>/data/dataset_classes/cityscapes_19cl.txt file. See Cityscapes classes definition for more details. The model was built on MobileNetV3 large backbone and modified segmentation head based on LR-ASPP. This model can be used for efficient segmentation on a variety of real-world street images. For model implementation details see original repository.

Specification

Metric

Value

Type

Semantic segmentation

GOps

140.9611

MParams

3.2

Source framework

PyTorch*

Accuracy

Metric

Value

mean_iou

72.67%

Input

Original model

Image, name: input0, shape: 1, 3, 1024, 2048, format: B, C, H, W, where:

  • B - batch size

  • C - number of channels

  • H - image height

  • W - image width

Expected color order: RGB. Mean values: [123.675, 116.28, 103.53], scale values: [58.395, 57.12, 57.375]

Converted Model

Image, name: input0, shape: 1, 3, 1024, 2048, format: B, C, H, W, where:

  • B - batch size

  • C - number of channels

  • H - image height

  • W - image width

Expected color order: BGR.

Output

Original Model

Float values, which represent scores of a predicted class for each image pixel. The model was trained on Cityscapes dataset with 19 categories of objects. Name: output0, shape: 1, 19, 1024, 2048 in B, N, H, W format, where:

  • B - batch size

  • N - number of classes

  • H - image height

  • W - image width

Converted Model

Float values, which represent scores of a predicted class for each image pixel. The model was trained on Cityscapes dataset with 19 categories of objects. Name: output0, shape: 1, 19, 1024, 2048 in B, N, H, W format, where:

  • B - batch size

  • N - number of classes

  • H - image height

  • W - image width

Download a Model and Convert it into Inference Engine Format

You can download models and if necessary convert them into Inference Engine format using the Model Downloader and other automation tools as shown in the examples below.

An example of using the Model Downloader:

python3 <omz_dir>/tools/downloader/downloader.py --name <model_name>

An example of using the Model Converter:

python3 <omz_dir>/tools/downloader/converter.py --name <model_name>