Push model using huggingface_hub.
Browse filesFiles changed (3)
- README.mdAdded+62
- config.jsonAdded+13
- model.safetensorsAdded+3
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162---library_name: segmentation-models-pytorchlicense: mitpipeline_tag: image-segmentationtags:- model_hub_mixin- pytorch_model_hub_mixin- segmentation-models-pytorch- semantic-segmentation- pytorchlanguages:- python---# PAN 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": "resnet152", "encoder_depth": 5, "encoder_weights": "imagenet", "encoder_output_stride": 16, "decoder_channels": 32, "in_channels": 3, "classes": 1, "activation": None, "upsampling": 4, "aux_params": None}```
## Model metrics```json[ { "test_per_image_iou": 0.8402007222175598, "test_dataset_iou": 0.8616188764572144 }]```
## 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)12345678910111213{ "_model_class": "PAN", "activation": null, "aux_params": null, "classes": 1, "decoder_channels": 32, "encoder_depth": 5, "encoder_name": "resnet152", "encoder_output_stride": 16, "encoder_weights": "imagenet", "in_channels": 3, "upsampling": 4}123version https://git-lfs.github.com/spec/v1oid sha256:fba098e5eda3c38f9e14703492539e22866a19ad79077656a15c52204f64cf40size 236293520README.mdAdded+62
config.jsonAdded+13
model.safetensorsAdded+3