Push model using huggingface_hub.
Browse filesFiles changed (3)
- README.mdAdded+60
- config.jsonAdded+11
- model.safetensorsAdded+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960---library_name: segmentation-models-pytorchlicense: mitpipeline_tag: image-segmentationtags:- model_hub_mixin- pytorch_model_hub_mixin- segmentation-models-pytorch- semantic-segmentation- pytorchlanguages:- python---# Segformer Model Card
Table of Contents:- [Load trained model](#load-trained-model)- [Model init parameters](#model-init-parameters)- [Model metrics](#model-metrics)- [Dataset](#dataset)
## Load trained model```pythonimport segmentation_models_pytorch as smp
model = smp.from_pretrained("<save-directory-or-this-repo>")```
## Model init parameters```pythonmodel_init_params = { "encoder_name": "dpn131", "encoder_depth": 5, "encoder_weights": "imagenet", "decoder_segmentation_channels": 256, "in_channels": 3, "classes": 1, "activation": None, "aux_params": None}```
## Model metrics```json[ { "test_per_image_iou": 0.8698931932449341, "test_dataset_iou": 0.8871293663978577 }]```
## DatasetDataset name: VisionPipe
## More Information- Library: https://github.com/qubvel/segmentation_models.pytorch- Docs: https://smp.readthedocs.io/en/latest/
This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin)1234567891011{ "_model_class": "Segformer", "activation": null, "aux_params": null, "classes": 1, "decoder_segmentation_channels": 256, "encoder_depth": 5, "encoder_name": "dpn131", "encoder_weights": "imagenet", "in_channels": 3}123version https://git-lfs.github.com/spec/v1oid sha256:46252f72ba5e887b783f5955b475850eddc38b0f377de4f1c3de56b73e981da4size 314698636README.mdAdded+60
config.jsonAdded+11
model.safetensorsAdded+3