qubvel-hf HF staff commited on
Commit
9f35c4f
1 Parent(s): c48d66c

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. README.md +55 -0
  2. config.json +19 -0
  3. model.safetensors +3 -0
  4. output-tensor.pth +1 -1
README.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ # Unet 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_use_batchnorm": True,
36
+ "decoder_channels": (256, 128, 64, 32, 16),
37
+ "decoder_attention_type": None,
38
+ "in_channels": 3,
39
+ "classes": 1,
40
+ "activation": None,
41
+ "aux_params": None
42
+ }
43
+ ```
44
+
45
+ ## Model metrics
46
+ [More Information Needed]
47
+
48
+ ## Dataset
49
+ Dataset name: [More Information Needed]
50
+
51
+ ## More Information
52
+ - Library: https://github.com/qubvel/segmentation_models.pytorch
53
+ - Docs: https://smp.readthedocs.io/en/latest/
54
+
55
+ 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,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_model_class": "Unet",
3
+ "activation": null,
4
+ "aux_params": null,
5
+ "classes": 1,
6
+ "decoder_attention_type": null,
7
+ "decoder_channels": [
8
+ 256,
9
+ 128,
10
+ 64,
11
+ 32,
12
+ 16
13
+ ],
14
+ "decoder_use_batchnorm": true,
15
+ "encoder_depth": 5,
16
+ "encoder_name": "tu-resnet18",
17
+ "encoder_weights": "imagenet",
18
+ "in_channels": 3
19
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:756baaedfb9efbf35fe1f8155bcfc83de75ad3be5aeb27f3fa68a545e1f52411
3
+ size 57378204
output-tensor.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b4c6f52c2fbf6e6a4235022c6aa1cc01dfa3601e6c1a159bfbc4f7e3dcefcc3c
3
  size 263354
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8353d8b1d171b1ec724b8721b4b623ec6d8b79d9d71956dc1a3efe30d29f85cb
3
  size 263354