End of training
Browse files- README.md +99 -199
- config.json +82 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
CHANGED
@@ -1,199 +1,99 @@
|
|
1 |
-
---
|
2 |
-
library_name: transformers
|
3 |
-
|
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 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
[More Information Needed]
|
102 |
-
|
103 |
-
## Evaluation
|
104 |
-
|
105 |
-
<!-- This section describes the evaluation protocols and provides the results. -->
|
106 |
-
|
107 |
-
### Testing Data, Factors & Metrics
|
108 |
-
|
109 |
-
#### Testing Data
|
110 |
-
|
111 |
-
<!-- This should link to a Dataset Card if possible. -->
|
112 |
-
|
113 |
-
[More Information Needed]
|
114 |
-
|
115 |
-
#### Factors
|
116 |
-
|
117 |
-
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
118 |
-
|
119 |
-
[More Information Needed]
|
120 |
-
|
121 |
-
#### Metrics
|
122 |
-
|
123 |
-
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
-
|
125 |
-
[More Information Needed]
|
126 |
-
|
127 |
-
### Results
|
128 |
-
|
129 |
-
[More Information Needed]
|
130 |
-
|
131 |
-
#### Summary
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
## Model Examination [optional]
|
136 |
-
|
137 |
-
<!-- Relevant interpretability work for the model goes here -->
|
138 |
-
|
139 |
-
[More Information Needed]
|
140 |
-
|
141 |
-
## Environmental Impact
|
142 |
-
|
143 |
-
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
-
|
145 |
-
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
146 |
-
|
147 |
-
- **Hardware Type:** [More Information Needed]
|
148 |
-
- **Hours used:** [More Information Needed]
|
149 |
-
- **Cloud Provider:** [More Information Needed]
|
150 |
-
- **Compute Region:** [More Information Needed]
|
151 |
-
- **Carbon Emitted:** [More Information Needed]
|
152 |
-
|
153 |
-
## Technical Specifications [optional]
|
154 |
-
|
155 |
-
### Model Architecture and Objective
|
156 |
-
|
157 |
-
[More Information Needed]
|
158 |
-
|
159 |
-
### Compute Infrastructure
|
160 |
-
|
161 |
-
[More Information Needed]
|
162 |
-
|
163 |
-
#### Hardware
|
164 |
-
|
165 |
-
[More Information Needed]
|
166 |
-
|
167 |
-
#### Software
|
168 |
-
|
169 |
-
[More Information Needed]
|
170 |
-
|
171 |
-
## Citation [optional]
|
172 |
-
|
173 |
-
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
-
|
175 |
-
**BibTeX:**
|
176 |
-
|
177 |
-
[More Information Needed]
|
178 |
-
|
179 |
-
**APA:**
|
180 |
-
|
181 |
-
[More Information Needed]
|
182 |
-
|
183 |
-
## Glossary [optional]
|
184 |
-
|
185 |
-
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
-
|
187 |
-
[More Information Needed]
|
188 |
-
|
189 |
-
## More Information [optional]
|
190 |
-
|
191 |
-
[More Information Needed]
|
192 |
-
|
193 |
-
## Model Card Authors [optional]
|
194 |
-
|
195 |
-
[More Information Needed]
|
196 |
-
|
197 |
-
## Model Card Contact
|
198 |
-
|
199 |
-
[More Information Needed]
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: other
|
4 |
+
base_model: nvidia/segformer-b5-finetuned-ade-640-640
|
5 |
+
tags:
|
6 |
+
- vision
|
7 |
+
- image-segmentation
|
8 |
+
- generated_from_trainer
|
9 |
+
model-index:
|
10 |
+
- name: segformer-b5-finetuned-ade20k-morphpadver1-hgo-coord_40epochs_distortion_ver2_global_norm
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# segformer-b5-finetuned-ade20k-morphpadver1-hgo-coord_40epochs_distortion_ver2_global_norm
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [nvidia/segformer-b5-finetuned-ade-640-640](https://huggingface.co/nvidia/segformer-b5-finetuned-ade-640-640) on the NICOPOI-9/Morphpad_HGO_1600_coord_global_norm dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.1104
|
22 |
+
- Mean Iou: 0.9755
|
23 |
+
- Mean Accuracy: 0.9877
|
24 |
+
- Overall Accuracy: 0.9875
|
25 |
+
- Accuracy 0-0: 0.9892
|
26 |
+
- Accuracy 0-90: 0.9855
|
27 |
+
- Accuracy 90-0: 0.9863
|
28 |
+
- Accuracy 90-90: 0.9897
|
29 |
+
- Iou 0-0: 0.9778
|
30 |
+
- Iou 0-90: 0.9741
|
31 |
+
- Iou 90-0: 0.9734
|
32 |
+
- Iou 90-90: 0.9766
|
33 |
+
|
34 |
+
## Model description
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Intended uses & limitations
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Training and evaluation data
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training procedure
|
47 |
+
|
48 |
+
### Training hyperparameters
|
49 |
+
|
50 |
+
The following hyperparameters were used during training:
|
51 |
+
- learning_rate: 6e-05
|
52 |
+
- train_batch_size: 1
|
53 |
+
- eval_batch_size: 1
|
54 |
+
- seed: 42
|
55 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
56 |
+
- lr_scheduler_type: linear
|
57 |
+
- num_epochs: 40
|
58 |
+
|
59 |
+
### Training results
|
60 |
+
|
61 |
+
| Training Loss | Epoch | Step | Validation Loss | Mean Iou | Mean Accuracy | Overall Accuracy | Accuracy 0-0 | Accuracy 0-90 | Accuracy 90-0 | Accuracy 90-90 | Iou 0-0 | Iou 0-90 | Iou 90-0 | Iou 90-90 |
|
62 |
+
|:-------------:|:-------:|:------:|:---------------:|:--------:|:-------------:|:----------------:|:------------:|:-------------:|:-------------:|:--------------:|:-------:|:--------:|:--------:|:---------:|
|
63 |
+
| 1.3668 | 1.3680 | 4000 | 1.2660 | 0.2258 | 0.3802 | 0.3984 | 0.1901 | 0.4693 | 0.6808 | 0.1805 | 0.1537 | 0.2979 | 0.3155 | 0.1360 |
|
64 |
+
| 0.8028 | 2.7360 | 8000 | 1.0729 | 0.3341 | 0.5062 | 0.5266 | 0.2943 | 0.7462 | 0.6891 | 0.2953 | 0.2476 | 0.4225 | 0.4118 | 0.2544 |
|
65 |
+
| 0.9605 | 4.1040 | 12000 | 0.7966 | 0.5070 | 0.6678 | 0.6795 | 0.5623 | 0.7823 | 0.8018 | 0.5249 | 0.4831 | 0.5564 | 0.5338 | 0.4548 |
|
66 |
+
| 0.59 | 5.4720 | 16000 | 0.5049 | 0.6944 | 0.8173 | 0.8197 | 0.7840 | 0.8640 | 0.8169 | 0.8043 | 0.6977 | 0.6983 | 0.6912 | 0.6906 |
|
67 |
+
| 0.4359 | 6.8399 | 20000 | 0.3698 | 0.7779 | 0.8755 | 0.8748 | 0.8698 | 0.8828 | 0.8515 | 0.8977 | 0.7808 | 0.7776 | 0.7678 | 0.7855 |
|
68 |
+
| 0.3519 | 8.2079 | 24000 | 0.3545 | 0.7831 | 0.8734 | 0.8785 | 0.8256 | 0.9371 | 0.9178 | 0.8129 | 0.7893 | 0.7908 | 0.7801 | 0.7721 |
|
69 |
+
| 0.2117 | 9.5759 | 28000 | 0.2449 | 0.8532 | 0.9180 | 0.9205 | 0.8938 | 0.9490 | 0.9396 | 0.8894 | 0.8625 | 0.8530 | 0.8454 | 0.8520 |
|
70 |
+
| 0.4507 | 10.9439 | 32000 | 0.2180 | 0.8723 | 0.9293 | 0.9315 | 0.9214 | 0.9632 | 0.9430 | 0.8894 | 0.8865 | 0.8644 | 0.8736 | 0.8645 |
|
71 |
+
| 0.1921 | 12.3119 | 36000 | 0.1766 | 0.9018 | 0.9475 | 0.9480 | 0.9375 | 0.9644 | 0.9383 | 0.9499 | 0.9086 | 0.8969 | 0.8936 | 0.9081 |
|
72 |
+
| 0.6741 | 13.6799 | 40000 | 0.1713 | 0.9009 | 0.9467 | 0.9478 | 0.9612 | 0.9654 | 0.9563 | 0.9037 | 0.9183 | 0.8975 | 0.9027 | 0.8852 |
|
73 |
+
| 0.0979 | 15.0479 | 44000 | 0.1528 | 0.9257 | 0.9610 | 0.9612 | 0.9614 | 0.9568 | 0.9697 | 0.9560 | 0.9335 | 0.9255 | 0.9165 | 0.9273 |
|
74 |
+
| 0.2138 | 16.4159 | 48000 | 0.1637 | 0.9177 | 0.9561 | 0.9568 | 0.9494 | 0.9608 | 0.9651 | 0.9492 | 0.9240 | 0.9101 | 0.9153 | 0.9214 |
|
75 |
+
| 0.1426 | 17.7839 | 52000 | 0.1263 | 0.9454 | 0.9716 | 0.9718 | 0.9735 | 0.9734 | 0.9737 | 0.9659 | 0.9502 | 0.9438 | 0.9416 | 0.9460 |
|
76 |
+
| 0.1079 | 19.1518 | 56000 | 0.1401 | 0.9299 | 0.9625 | 0.9635 | 0.9630 | 0.9705 | 0.9793 | 0.9370 | 0.9403 | 0.9339 | 0.9225 | 0.9227 |
|
77 |
+
| 0.0968 | 20.5198 | 60000 | 0.1735 | 0.9231 | 0.9592 | 0.9600 | 0.9447 | 0.9648 | 0.9674 | 0.9600 | 0.9202 | 0.9239 | 0.9185 | 0.9300 |
|
78 |
+
| 0.1719 | 21.8878 | 64000 | 0.1326 | 0.9459 | 0.9718 | 0.9720 | 0.9579 | 0.9696 | 0.9751 | 0.9848 | 0.9464 | 0.9406 | 0.9434 | 0.9530 |
|
79 |
+
| 0.0587 | 23.2558 | 68000 | 0.1135 | 0.9585 | 0.9791 | 0.9786 | 0.9850 | 0.9710 | 0.9773 | 0.9831 | 0.9635 | 0.9542 | 0.9558 | 0.9603 |
|
80 |
+
| 0.2671 | 24.6238 | 72000 | 0.1184 | 0.9548 | 0.9761 | 0.9768 | 0.9655 | 0.9823 | 0.9827 | 0.9742 | 0.9544 | 0.9576 | 0.9485 | 0.9587 |
|
81 |
+
| 0.0418 | 25.9918 | 76000 | 0.1169 | 0.9605 | 0.9797 | 0.9797 | 0.9818 | 0.9765 | 0.9836 | 0.9768 | 0.9668 | 0.9574 | 0.9570 | 0.9608 |
|
82 |
+
| 0.0587 | 27.3598 | 80000 | 0.1084 | 0.9590 | 0.9786 | 0.9790 | 0.9714 | 0.9810 | 0.9843 | 0.9776 | 0.9600 | 0.9586 | 0.9553 | 0.9623 |
|
83 |
+
| 0.0067 | 28.7278 | 84000 | 0.1190 | 0.9641 | 0.9816 | 0.9815 | 0.9826 | 0.9775 | 0.9848 | 0.9815 | 0.9703 | 0.9629 | 0.9590 | 0.9641 |
|
84 |
+
| 0.0369 | 30.0958 | 88000 | 0.1230 | 0.9644 | 0.9818 | 0.9818 | 0.9804 | 0.9822 | 0.9811 | 0.9834 | 0.9667 | 0.9613 | 0.9627 | 0.9670 |
|
85 |
+
| 0.0814 | 31.4637 | 92000 | 0.1184 | 0.9664 | 0.9828 | 0.9828 | 0.9838 | 0.9827 | 0.9853 | 0.9792 | 0.9688 | 0.9674 | 0.9633 | 0.9661 |
|
86 |
+
| 0.1671 | 32.8317 | 96000 | 0.1193 | 0.9676 | 0.9835 | 0.9834 | 0.9839 | 0.9820 | 0.9837 | 0.9845 | 0.9718 | 0.9652 | 0.9661 | 0.9674 |
|
87 |
+
| 0.1289 | 34.1997 | 100000 | 0.1201 | 0.9620 | 0.9801 | 0.9806 | 0.9705 | 0.9845 | 0.9842 | 0.9811 | 0.9609 | 0.9588 | 0.9624 | 0.9657 |
|
88 |
+
| 0.0551 | 35.5677 | 104000 | 0.1159 | 0.9707 | 0.9851 | 0.9850 | 0.9863 | 0.9831 | 0.9854 | 0.9856 | 0.9741 | 0.9680 | 0.9689 | 0.9717 |
|
89 |
+
| 0.0217 | 36.9357 | 108000 | 0.1141 | 0.9732 | 0.9865 | 0.9863 | 0.9886 | 0.9826 | 0.9868 | 0.9879 | 0.9767 | 0.9705 | 0.9722 | 0.9733 |
|
90 |
+
| 0.0031 | 38.3037 | 112000 | 0.1177 | 0.9735 | 0.9866 | 0.9865 | 0.9891 | 0.9843 | 0.9879 | 0.9849 | 0.9770 | 0.9724 | 0.9714 | 0.9733 |
|
91 |
+
| 0.0435 | 39.6717 | 116000 | 0.1104 | 0.9755 | 0.9877 | 0.9875 | 0.9892 | 0.9855 | 0.9863 | 0.9897 | 0.9778 | 0.9741 | 0.9734 | 0.9766 |
|
92 |
+
|
93 |
+
|
94 |
+
### Framework versions
|
95 |
+
|
96 |
+
- Transformers 4.48.3
|
97 |
+
- Pytorch 2.1.0
|
98 |
+
- Datasets 3.2.0
|
99 |
+
- Tokenizers 0.21.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "nvidia/segformer-b5-finetuned-ade-640-640",
|
3 |
+
"architectures": [
|
4 |
+
"SegformerForSemanticSegmentation"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"classifier_dropout_prob": 0.1,
|
8 |
+
"decoder_hidden_size": 768,
|
9 |
+
"depths": [
|
10 |
+
3,
|
11 |
+
6,
|
12 |
+
40,
|
13 |
+
3
|
14 |
+
],
|
15 |
+
"downsampling_rates": [
|
16 |
+
1,
|
17 |
+
4,
|
18 |
+
8,
|
19 |
+
16
|
20 |
+
],
|
21 |
+
"drop_path_rate": 0.1,
|
22 |
+
"hidden_act": "gelu",
|
23 |
+
"hidden_dropout_prob": 0.0,
|
24 |
+
"hidden_sizes": [
|
25 |
+
64,
|
26 |
+
128,
|
27 |
+
320,
|
28 |
+
512
|
29 |
+
],
|
30 |
+
"id2label": {
|
31 |
+
"0": "0-0",
|
32 |
+
"1": "0-90",
|
33 |
+
"2": "90-0",
|
34 |
+
"3": "90-90"
|
35 |
+
},
|
36 |
+
"image_size": 224,
|
37 |
+
"initializer_range": 0.02,
|
38 |
+
"label2id": {
|
39 |
+
"0-0": 0,
|
40 |
+
"0-90": 1,
|
41 |
+
"90-0": 2,
|
42 |
+
"90-90": 3
|
43 |
+
},
|
44 |
+
"layer_norm_eps": 1e-06,
|
45 |
+
"mlp_ratios": [
|
46 |
+
4,
|
47 |
+
4,
|
48 |
+
4,
|
49 |
+
4
|
50 |
+
],
|
51 |
+
"model_type": "segformer",
|
52 |
+
"num_attention_heads": [
|
53 |
+
1,
|
54 |
+
2,
|
55 |
+
5,
|
56 |
+
8
|
57 |
+
],
|
58 |
+
"num_channels": 3,
|
59 |
+
"num_encoder_blocks": 4,
|
60 |
+
"patch_sizes": [
|
61 |
+
7,
|
62 |
+
3,
|
63 |
+
3,
|
64 |
+
3
|
65 |
+
],
|
66 |
+
"reshape_last_stage": true,
|
67 |
+
"semantic_loss_ignore_index": 255,
|
68 |
+
"sr_ratios": [
|
69 |
+
8,
|
70 |
+
4,
|
71 |
+
2,
|
72 |
+
1
|
73 |
+
],
|
74 |
+
"strides": [
|
75 |
+
4,
|
76 |
+
2,
|
77 |
+
2,
|
78 |
+
2
|
79 |
+
],
|
80 |
+
"torch_dtype": "float32",
|
81 |
+
"transformers_version": "4.48.3"
|
82 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8f7abb527a83928510a9b6bf5a983447589efcd19e19c80465e88cf6926b9e7c
|
3 |
+
size 338534592
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f96eab77b986c630cb860e413c55586bb53a151963cccc258d944b97dd258883
|
3 |
+
size 5560
|