FPN Model Card

Table of Contents:

Load trained model

import segmentation_models_pytorch as smp

model = smp.from_pretrained("<save-directory-or-this-repo>")

Model init parameters

model_init_params = {
    "encoder_name": "resnet34",
    "encoder_depth": 5,
    "encoder_weights": None,
    "decoder_pyramid_channels": 256,
    "decoder_segmentation_channels": 128,
    "decoder_merge_policy": "add",
    "decoder_dropout": 0.2,
    "in_channels": 3,
    "classes": 1,
    "activation": None,
    "upsampling": 4,
    "aux_params": None
}

Model metrics

[
    {
        "test_per_image_iou": 0.7009002566337585,
        "test_dataset_iou": 0.7063090205192566,
        "test_precision": 0.8255040049552917,
        "test_recall": 0.8302684426307678,
        "test_f1_score": 0.8278793692588806
    }
]

Dataset

Dataset name: Oxford Pet

More Information

This model has been pushed to the Hub using the PytorchModelHubMixin

Downloads last month
2
Safetensors
Model size
23.2M params
Tensor type
F32
·
Inference Examples
Inference API (serverless) does not yet support segmentation-models-pytorch models for this pipeline type.