Matiullah2401592 commited on
Commit
9cc898b
·
verified ·
1 Parent(s): 2ce06e7

Push model using huggingface_hub.

Browse files
Files changed (3) hide show
  1. README.md +65 -0
  2. config.json +20 -0
  3. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ # DeepLabV3Plus 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": "efficientnet-b5",
33
+ "encoder_depth": 5,
34
+ "encoder_weights": "imagenet",
35
+ "encoder_output_stride": 16,
36
+ "decoder_channels": 256,
37
+ "decoder_atrous_rates": (12, 24, 36),
38
+ "decoder_aspp_separable": True,
39
+ "decoder_aspp_dropout": 0.5,
40
+ "in_channels": 3,
41
+ "classes": 1,
42
+ "activation": None,
43
+ "upsampling": 4,
44
+ "aux_params": None
45
+ }
46
+ ```
47
+
48
+ ## Model metrics
49
+ ```json
50
+ [
51
+ {
52
+ "test_per_image_iou": 0.866601288318634,
53
+ "test_dataset_iou": 0.9076802730560303
54
+ }
55
+ ]
56
+ ```
57
+
58
+ ## Dataset
59
+ Dataset name: Aggregate
60
+
61
+ ## More Information
62
+ - Library: https://github.com/qubvel/segmentation_models.pytorch
63
+ - Docs: https://smp.readthedocs.io/en/latest/
64
+
65
+ 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,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_model_class": "DeepLabV3Plus",
3
+ "activation": null,
4
+ "aux_params": null,
5
+ "classes": 1,
6
+ "decoder_aspp_dropout": 0.5,
7
+ "decoder_aspp_separable": true,
8
+ "decoder_atrous_rates": [
9
+ 12,
10
+ 24,
11
+ 36
12
+ ],
13
+ "decoder_channels": 256,
14
+ "encoder_depth": 5,
15
+ "encoder_name": "efficientnet-b5",
16
+ "encoder_output_stride": 16,
17
+ "encoder_weights": "imagenet",
18
+ "in_channels": 3,
19
+ "upsampling": 4
20
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4aeb6c5c2e9db222e9fb94aa33c33dc18dfa803a278653f451a9ab265d146322
3
+ size 118771780