qubvel-hf HF staff commited on
Commit
1a3a5e8
1 Parent(s): 7d697b6

Upload folder using huggingface_hub

Browse files
Files changed (5) hide show
  1. README.md +54 -0
  2. config.json +12 -0
  3. input-tensor.pth +3 -0
  4. model.safetensors +3 -0
  5. output-tensor.pth +3 -0
README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ # UPerNet 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": "tu-resnet18",
33
+ "encoder_depth": 5,
34
+ "encoder_weights": "imagenet",
35
+ "decoder_pyramid_channels": 256,
36
+ "decoder_segmentation_channels": 64,
37
+ "in_channels": 3,
38
+ "classes": 1,
39
+ "activation": None,
40
+ "aux_params": None
41
+ }
42
+ ```
43
+
44
+ ## Model metrics
45
+ [More Information Needed]
46
+
47
+ ## Dataset
48
+ Dataset name: [More Information Needed]
49
+
50
+ ## More Information
51
+ - Library: https://github.com/qubvel/segmentation_models.pytorch
52
+ - Docs: https://smp.readthedocs.io/en/latest/
53
+
54
+ 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,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_model_class": "UPerNet",
3
+ "activation": null,
4
+ "aux_params": null,
5
+ "classes": 1,
6
+ "decoder_pyramid_channels": 256,
7
+ "decoder_segmentation_channels": 64,
8
+ "encoder_depth": 5,
9
+ "encoder_name": "tu-resnet18",
10
+ "encoder_weights": "imagenet",
11
+ "in_channels": 3
12
+ }
input-tensor.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43cebe575523ed0d2e9820e994b70e96cff73d577bc5e225ecb2131bf187c006
3
+ size 787637
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66ab4bc4f5fce64c40ecaf484a61d983537f7cfb667ec96d2aa5a23ee2814286
3
+ size 50371828
output-tensor.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5272f51b3042ccba3600e2ace7114858da13e092c017fe025d3430c96401ef39
3
+ size 263354