jq commited on
Commit
899a009
·
verified ·
1 Parent(s): aa1f303

unet-efficientnet-b2-malaria-trophozoites-wbc

Browse files
Files changed (3) hide show
  1. README.md +143 -52
  2. model.safetensors +2 -2
  3. training_args.bin +1 -1
README.md CHANGED
@@ -1,55 +1,146 @@
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-b2",
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)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ library_name: transformers
 
 
3
  tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: unet-efficientnet-b2-malaria-trophozoites-wbc
7
+ results: []
 
 
 
8
  ---
9
+
10
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
11
+ should probably proofread and complete it, then remove this comment. -->
12
+
13
+ # unet-efficientnet-b2-malaria-trophozoites-wbc
14
+
15
+ This model was trained from scratch on the None dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Loss: 0.1470
18
+
19
+ ## Model description
20
+
21
+ More information needed
22
+
23
+ ## Intended uses & limitations
24
+
25
+ More information needed
26
+
27
+ ## Training and evaluation data
28
+
29
+ More information needed
30
+
31
+ ## Training procedure
32
+
33
+ ### Training hyperparameters
34
+
35
+ The following hyperparameters were used during training:
36
+ - learning_rate: 0.0003
37
+ - train_batch_size: 16
38
+ - eval_batch_size: 16
39
+ - seed: 42
40
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
41
+ - lr_scheduler_type: linear
42
+ - lr_scheduler_warmup_ratio: 0.02
43
+ - num_epochs: 90
44
+
45
+ ### Training results
46
+
47
+ | Training Loss | Epoch | Step | Validation Loss |
48
+ |:-------------:|:-----:|:-----:|:---------------:|
49
+ | No log | 1.0 | 484 | 0.8717 |
50
+ | 10.9992 | 2.0 | 968 | 0.1936 |
51
+ | 0.2866 | 3.0 | 1452 | 0.1798 |
52
+ | 0.1569 | 4.0 | 1936 | 0.1670 |
53
+ | 0.1414 | 5.0 | 2420 | 0.1650 |
54
+ | 0.1392 | 6.0 | 2904 | 0.1629 |
55
+ | 0.1342 | 7.0 | 3388 | 0.1626 |
56
+ | 0.1326 | 8.0 | 3872 | 0.1569 |
57
+ | 0.1332 | 9.0 | 4356 | 0.1577 |
58
+ | 0.1323 | 10.0 | 4840 | 0.1609 |
59
+ | 0.1295 | 11.0 | 5324 | 0.1549 |
60
+ | 0.127 | 12.0 | 5808 | 0.1552 |
61
+ | 0.1277 | 13.0 | 6292 | 0.1560 |
62
+ | 0.126 | 14.0 | 6776 | 0.1550 |
63
+ | 0.1267 | 15.0 | 7260 | 0.1524 |
64
+ | 0.1261 | 16.0 | 7744 | 0.1535 |
65
+ | 0.131 | 17.0 | 8228 | 0.1541 |
66
+ | 0.1258 | 18.0 | 8712 | 0.1532 |
67
+ | 0.1232 | 19.0 | 9196 | 0.1505 |
68
+ | 0.1258 | 20.0 | 9680 | 0.1616 |
69
+ | 0.1257 | 21.0 | 10164 | 0.1547 |
70
+ | 0.1251 | 22.0 | 10648 | 0.1516 |
71
+ | 0.1264 | 23.0 | 11132 | 0.1512 |
72
+ | 0.1221 | 24.0 | 11616 | 0.1527 |
73
+ | 0.1239 | 25.0 | 12100 | 0.1536 |
74
+ | 0.1221 | 26.0 | 12584 | 0.1520 |
75
+ | 0.1272 | 27.0 | 13068 | 0.1515 |
76
+ | 0.1214 | 28.0 | 13552 | 0.1522 |
77
+ | 0.1211 | 29.0 | 14036 | 0.1490 |
78
+ | 0.1202 | 30.0 | 14520 | 0.1515 |
79
+ | 0.1256 | 31.0 | 15004 | 0.1503 |
80
+ | 0.1256 | 32.0 | 15488 | 0.1513 |
81
+ | 0.1215 | 33.0 | 15972 | 0.1494 |
82
+ | 0.1222 | 34.0 | 16456 | 0.1516 |
83
+ | 0.1226 | 35.0 | 16940 | 0.1507 |
84
+ | 0.1218 | 36.0 | 17424 | 0.1493 |
85
+ | 0.1222 | 37.0 | 17908 | 0.1529 |
86
+ | 0.12 | 38.0 | 18392 | 0.1516 |
87
+ | 0.1226 | 39.0 | 18876 | 0.1506 |
88
+ | 0.1213 | 40.0 | 19360 | 0.1495 |
89
+ | 0.1205 | 41.0 | 19844 | 0.1481 |
90
+ | 0.1207 | 42.0 | 20328 | 0.1495 |
91
+ | 0.1189 | 43.0 | 20812 | 0.1480 |
92
+ | 0.1194 | 44.0 | 21296 | 0.1488 |
93
+ | 0.1219 | 45.0 | 21780 | 0.1510 |
94
+ | 0.1191 | 46.0 | 22264 | 0.1492 |
95
+ | 0.1217 | 47.0 | 22748 | 0.1487 |
96
+ | 0.1185 | 48.0 | 23232 | 0.1511 |
97
+ | 0.1205 | 49.0 | 23716 | 0.1475 |
98
+ | 0.1218 | 50.0 | 24200 | 0.1497 |
99
+ | 0.1194 | 51.0 | 24684 | 0.1495 |
100
+ | 0.1221 | 52.0 | 25168 | 0.1497 |
101
+ | 0.1171 | 53.0 | 25652 | 0.1487 |
102
+ | 0.1189 | 54.0 | 26136 | 0.1476 |
103
+ | 0.1188 | 55.0 | 26620 | 0.1498 |
104
+ | 0.1186 | 56.0 | 27104 | 0.1483 |
105
+ | 0.1188 | 57.0 | 27588 | 0.1484 |
106
+ | 0.1177 | 58.0 | 28072 | 0.1488 |
107
+ | 0.1198 | 59.0 | 28556 | 0.1503 |
108
+ | 0.1173 | 60.0 | 29040 | 0.1476 |
109
+ | 0.1192 | 61.0 | 29524 | 0.1474 |
110
+ | 0.1189 | 62.0 | 30008 | 0.1476 |
111
+ | 0.1189 | 63.0 | 30492 | 0.1490 |
112
+ | 0.1167 | 64.0 | 30976 | 0.1485 |
113
+ | 0.1198 | 65.0 | 31460 | 0.1474 |
114
+ | 0.1177 | 66.0 | 31944 | 0.1477 |
115
+ | 0.1188 | 67.0 | 32428 | 0.1489 |
116
+ | 0.1174 | 68.0 | 32912 | 0.1478 |
117
+ | 0.1171 | 69.0 | 33396 | 0.1477 |
118
+ | 0.12 | 70.0 | 33880 | 0.1483 |
119
+ | 0.1188 | 71.0 | 34364 | 0.1475 |
120
+ | 0.1172 | 72.0 | 34848 | 0.1477 |
121
+ | 0.1174 | 73.0 | 35332 | 0.1474 |
122
+ | 0.1174 | 74.0 | 35816 | 0.1487 |
123
+ | 0.1174 | 75.0 | 36300 | 0.1484 |
124
+ | 0.1178 | 76.0 | 36784 | 0.1478 |
125
+ | 0.1169 | 77.0 | 37268 | 0.1488 |
126
+ | 0.1182 | 78.0 | 37752 | 0.1478 |
127
+ | 0.1132 | 79.0 | 38236 | 0.1477 |
128
+ | 0.1175 | 80.0 | 38720 | 0.1472 |
129
+ | 0.1142 | 81.0 | 39204 | 0.1473 |
130
+ | 0.1176 | 82.0 | 39688 | 0.1475 |
131
+ | 0.118 | 83.0 | 40172 | 0.1476 |
132
+ | 0.1168 | 84.0 | 40656 | 0.1475 |
133
+ | 0.116 | 85.0 | 41140 | 0.1475 |
134
+ | 0.116 | 86.0 | 41624 | 0.1472 |
135
+ | 0.1164 | 87.0 | 42108 | 0.1472 |
136
+ | 0.1149 | 88.0 | 42592 | 0.1474 |
137
+ | 0.1144 | 89.0 | 43076 | 0.1471 |
138
+ | 0.1154 | 90.0 | 43560 | 0.1470 |
139
+
140
+
141
+ ### Framework versions
142
+
143
+ - Transformers 4.48.3
144
+ - Pytorch 2.5.1+cu124
145
+ - Datasets 3.3.0
146
+ - Tokenizers 0.21.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4219c52a54d6a76f87ec771d819e84da1f4fe94d718139dfc7298f0e5f9f08be
3
- size 40522344
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:475430b5f59ec87d24581a24f93445665072904466e132895665fe141dbdd831
3
+ size 40522376
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fb397467e852e086dba690f5f260a11843a507294c3af04d9000fe3cff750ab0
3
  size 5368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc6f577c8845c372bbe0acd8d0a5e4af049956fd8ec756c50734687191dba34d
3
  size 5368