qubvel-hf HF staff commited on
Commit
b2ec390
1 Parent(s): 135496c

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ # Segformer 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": "mit_b5",
33
+ "encoder_depth": 5,
34
+ "encoder_weights": None,
35
+ "decoder_segmentation_channels": 768,
36
+ "in_channels": 3,
37
+ "classes": 150,
38
+ "activation": None,
39
+ "aux_params": None
40
+ }
41
+ ```
42
+
43
+ ## Model metrics
44
+ [More Information Needed]
45
+
46
+ ## Dataset
47
+ Dataset name: [More Information Needed]
48
+
49
+ ## More Information
50
+ - Library: https://github.com/qubvel/segmentation_models.pytorch
51
+ - Docs: https://smp.readthedocs.io/en/latest/
52
+
53
+ This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin)
albumentations_config_eval.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"__version__": "1.4.14", "transform": {"__class_fullname__": "Compose", "p": 1.0, "transforms": [{"__class_fullname__": "Resize", "p": 1.0, "height": 640, "width": 640, "interpolation": 1}, {"__class_fullname__": "Normalize", "p": 1.0, "mean": [123.675, 116.28, 103.53], "std": [58.395, 57.12, 57.375], "max_pixel_value": 1.0, "normalization": "standard"}], "bbox_params": null, "keypoint_params": null, "additional_targets": {}, "is_check_shapes": true}}
config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_model_class": "Segformer",
3
+ "activation": null,
4
+ "aux_params": null,
5
+ "classes": 150,
6
+ "decoder_segmentation_channels": 768,
7
+ "encoder_depth": 5,
8
+ "encoder_name": "mit_b5",
9
+ "encoder_weights": null,
10
+ "in_channels": 3
11
+ }
example_mask.png ADDED
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbcb3f167715ea3f3a221af7fd808d4594f7030527cb0455e09c64ba7960cabb
3
+ size 338950312