Push model using huggingface_hub.
Browse files- README.md +52 -102
- config.json +19 -0
- model.safetensors +2 -2
README.md
CHANGED
@@ -1,105 +1,55 @@
|
|
1 |
---
|
2 |
-
library_name:
|
|
|
|
|
3 |
tags:
|
4 |
-
-
|
5 |
-
|
6 |
-
-
|
7 |
-
|
|
|
|
|
|
|
8 |
---
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
#
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
| 0.1496 | 4.0 | 1936 | 0.1782 |
|
52 |
-
| 0.1417 | 5.0 | 2420 | 0.1692 |
|
53 |
-
| 0.1435 | 6.0 | 2904 | 0.1737 |
|
54 |
-
| 0.1388 | 7.0 | 3388 | 0.1655 |
|
55 |
-
| 0.1369 | 8.0 | 3872 | 0.1672 |
|
56 |
-
| 0.1359 | 9.0 | 4356 | 0.1630 |
|
57 |
-
| 0.1377 | 10.0 | 4840 | 0.1619 |
|
58 |
-
| 0.136 | 11.0 | 5324 | 0.1662 |
|
59 |
-
| 0.1309 | 12.0 | 5808 | 0.2284 |
|
60 |
-
| 0.1321 | 13.0 | 6292 | 0.1591 |
|
61 |
-
| 0.1295 | 14.0 | 6776 | 0.1597 |
|
62 |
-
| 0.1308 | 15.0 | 7260 | 0.1802 |
|
63 |
-
| 0.1308 | 16.0 | 7744 | 0.1629 |
|
64 |
-
| 0.1304 | 17.0 | 8228 | 0.1576 |
|
65 |
-
| 0.1298 | 18.0 | 8712 | 0.1658 |
|
66 |
-
| 0.1262 | 19.0 | 9196 | 0.1542 |
|
67 |
-
| 0.1267 | 20.0 | 9680 | 0.1594 |
|
68 |
-
| 0.1282 | 21.0 | 10164 | 0.1560 |
|
69 |
-
| 0.1259 | 22.0 | 10648 | 0.1605 |
|
70 |
-
| 0.1301 | 23.0 | 11132 | 0.1538 |
|
71 |
-
| 0.124 | 24.0 | 11616 | 0.1535 |
|
72 |
-
| 0.1241 | 25.0 | 12100 | 0.1566 |
|
73 |
-
| 0.1237 | 26.0 | 12584 | 0.1554 |
|
74 |
-
| 0.1291 | 27.0 | 13068 | 0.1531 |
|
75 |
-
| 0.1233 | 28.0 | 13552 | 0.1543 |
|
76 |
-
| 0.1235 | 29.0 | 14036 | 0.1538 |
|
77 |
-
| 0.1247 | 30.0 | 14520 | 0.1527 |
|
78 |
-
| 0.1255 | 31.0 | 15004 | 0.1622 |
|
79 |
-
| 0.1255 | 32.0 | 15488 | 0.1549 |
|
80 |
-
| 0.1236 | 33.0 | 15972 | 0.1527 |
|
81 |
-
| 0.1246 | 34.0 | 16456 | 0.1522 |
|
82 |
-
| 0.1233 | 35.0 | 16940 | 0.1535 |
|
83 |
-
| 0.1237 | 36.0 | 17424 | 0.1524 |
|
84 |
-
| 0.1252 | 37.0 | 17908 | 0.1510 |
|
85 |
-
| 0.1201 | 38.0 | 18392 | 0.1514 |
|
86 |
-
| 0.1263 | 39.0 | 18876 | 0.1521 |
|
87 |
-
| 0.1221 | 40.0 | 19360 | 0.1525 |
|
88 |
-
| 0.1213 | 41.0 | 19844 | 0.1514 |
|
89 |
-
| 0.1193 | 42.0 | 20328 | 0.1504 |
|
90 |
-
| 0.1216 | 43.0 | 20812 | 0.1502 |
|
91 |
-
| 0.1223 | 44.0 | 21296 | 0.1506 |
|
92 |
-
| 0.1198 | 45.0 | 21780 | 0.1508 |
|
93 |
-
| 0.1208 | 46.0 | 22264 | 0.1500 |
|
94 |
-
| 0.1233 | 47.0 | 22748 | 0.1502 |
|
95 |
-
| 0.1176 | 48.0 | 23232 | 0.1495 |
|
96 |
-
| 0.1225 | 49.0 | 23716 | 0.1499 |
|
97 |
-
| 0.1212 | 50.0 | 24200 | 0.1498 |
|
98 |
-
|
99 |
-
|
100 |
-
### Framework versions
|
101 |
-
|
102 |
-
- Transformers 4.48.3
|
103 |
-
- Pytorch 2.5.1+cu124
|
104 |
-
- Datasets 3.3.0
|
105 |
-
- Tokenizers 0.21.0
|
|
|
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": "efficientnet-b3",
|
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": 2,
|
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": 2,
|
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": "efficientnet-b3",
|
17 |
+
"encoder_weights": "imagenet",
|
18 |
+
"in_channels": 3
|
19 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:451892da5c9c5012e89cfdb961514dde9306a4b101637268564fc2af3d84d512
|
3 |
+
size 53059160
|