Diamantis99 commited on
Commit
93b9c4b
·
verified ·
1 Parent(s): db3f2cf

Push model using huggingface_hub.

Browse files
Files changed (3) hide show
  1. README.md +63 -0
  2. config.json +14 -0
  3. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: segmentation-models-pytorch
3
+ license: mit
4
+ pipeline_tag: image-segmentation
5
+ tags:
6
+ - model_hub_mixin
7
+ - pytorch_model_hub_mixin
8
+ - segmentation-models-pytorch
9
+ - semantic-segmentation
10
+ - pytorch
11
+ languages:
12
+ - python
13
+ ---
14
+ # PSPNet Model Card
15
+
16
+ Table of Contents:
17
+ - [Load trained model](#load-trained-model)
18
+ - [Model init parameters](#model-init-parameters)
19
+ - [Model metrics](#model-metrics)
20
+ - [Dataset](#dataset)
21
+
22
+ ## Load trained model
23
+ ```python
24
+ import segmentation_models_pytorch as smp
25
+
26
+ model = smp.from_pretrained("<save-directory-or-this-repo>")
27
+ ```
28
+
29
+ ## Model init parameters
30
+ ```python
31
+ model_init_params = {
32
+ "encoder_name": "timm-tf_efficientnet_lite4",
33
+ "encoder_weights": "imagenet",
34
+ "encoder_depth": 3,
35
+ "psp_out_channels": 512,
36
+ "decoder_use_norm": "batchnorm",
37
+ "psp_dropout": 0.2,
38
+ "in_channels": 3,
39
+ "classes": 1,
40
+ "activation": None,
41
+ "upsampling": 8,
42
+ "aux_params": None
43
+ }
44
+ ```
45
+
46
+ ## Model metrics
47
+ ```json
48
+ [
49
+ {
50
+ "test_per_image_iou": 0.7290293574333191,
51
+ "test_dataset_iou": 0.763283908367157
52
+ }
53
+ ]
54
+ ```
55
+
56
+ ## Dataset
57
+ Dataset name: VisionPipe
58
+
59
+ ## More Information
60
+ - Library: https://github.com/qubvel/segmentation_models.pytorch
61
+ - Docs: https://smp.readthedocs.io/en/latest/
62
+
63
+ This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin)
config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_model_class": "PSPNet",
3
+ "activation": null,
4
+ "aux_params": null,
5
+ "classes": 1,
6
+ "decoder_use_norm": "batchnorm",
7
+ "encoder_depth": 3,
8
+ "encoder_name": "timm-tf_efficientnet_lite4",
9
+ "encoder_weights": "imagenet",
10
+ "in_channels": 3,
11
+ "psp_dropout": 0.2,
12
+ "psp_out_channels": 512,
13
+ "upsampling": 8
14
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9985433409a9d391a571a71557688bd584ca5a5d4b7234424fa7d91f9fbb83b3
3
+ size 47678428