qubvel-hf HF Staff commited on
Commit
36f153b
·
verified ·
1 Parent(s): 09e4818

Upload folder using huggingface_hub

Browse files
Files changed (5) hide show
  1. README.md +57 -0
  2. config.json +20 -0
  3. input-tensor.pth +3 -0
  4. model.safetensors +3 -0
  5. output-tensor.pth +3 -0
README.md ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ # DPT 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-test_vit",
33
+ "encoder_depth": 4,
34
+ "encoder_weights": "imagenet",
35
+ "encoder_output_indices": None,
36
+ "decoder_readout": "cat",
37
+ "decoder_intermediate_channels": (16, 32, 64, 64),
38
+ "decoder_fusion_channels": 16,
39
+ "in_channels": 3,
40
+ "classes": 1,
41
+ "activation": None,
42
+ "aux_params": None,
43
+ "dynamic_img_size": True
44
+ }
45
+ ```
46
+
47
+ ## Model metrics
48
+ [More Information Needed]
49
+
50
+ ## Dataset
51
+ Dataset name: [More Information Needed]
52
+
53
+ ## More Information
54
+ - Library: https://github.com/qubvel/segmentation_models.pytorch
55
+ - Docs: https://smp.readthedocs.io/en/latest/
56
+
57
+ 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": "DPT",
3
+ "activation": null,
4
+ "aux_params": null,
5
+ "classes": 1,
6
+ "decoder_fusion_channels": 16,
7
+ "decoder_intermediate_channels": [
8
+ 16,
9
+ 32,
10
+ 64,
11
+ 64
12
+ ],
13
+ "decoder_readout": "cat",
14
+ "dynamic_img_size": true,
15
+ "encoder_depth": 4,
16
+ "encoder_name": "tu-test_vit",
17
+ "encoder_output_indices": null,
18
+ "encoder_weights": "imagenet",
19
+ "in_channels": 3
20
+ }
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:8edbd379d395ec1012af4ee6e185b58e4ebb78989c8450be6cbd2dbfc0dc00fc
3
+ size 2135396
output-tensor.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2c61701afd27b3427bc7af4781b2d6a646fe4af1b00570deeabcc4cdf06585b
3
+ size 263354