加载中…
加载中…
Table of Contents:
import segmentation_models_pytorch as smp
model = smp.from_pretrained("<save-directory-or-this-repo>")
model_init_params = {
"encoder_name": "efficientnet-b7",
"encoder_depth": 5,
"encoder_weights": "imagenet",
"decoder_use_norm": "batchnorm",
"decoder_channels": (256, 128, 64, 32, 16),
"decoder_attention_type": None,
"decoder_interpolation": "nearest",
"in_channels": 3,
"classes": 1,
"activation": None,
"aux_params": None
}
[
{
"test_per_image_iou": 0.29138806462287903,
"test_dataset_iou": 0.24547137320041656,
"test_per_image_accuracy": 0.9696177244186401,
"test_dataset_accuracy": 0.9696177244186401
}
]
Dataset name: VIP
This model has been pushed to the Hub using the PytorchModelHubMixin