NICOPOI-9 commited on
Commit
685bb42
·
verified ·
1 Parent(s): 4caeb12

End of training

Browse files
Files changed (4) hide show
  1. README.md +98 -199
  2. config.json +82 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md CHANGED
@@ -1,199 +1,98 @@
1
- ---
2
- library_name: transformers
3
- tags: []
4
- ---
5
-
6
- # Model Card for Model ID
7
-
8
- <!-- Provide a quick summary of what the model is/does. -->
9
-
10
-
11
-
12
- ## Model Details
13
-
14
- ### Model Description
15
-
16
- <!-- Provide a longer summary of what this model is. -->
17
-
18
- This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
19
-
20
- - **Developed by:** [More Information Needed]
21
- - **Funded by [optional]:** [More Information Needed]
22
- - **Shared by [optional]:** [More Information Needed]
23
- - **Model type:** [More Information Needed]
24
- - **Language(s) (NLP):** [More Information Needed]
25
- - **License:** [More Information Needed]
26
- - **Finetuned from model [optional]:** [More Information Needed]
27
-
28
- ### Model Sources [optional]
29
-
30
- <!-- Provide the basic links for the model. -->
31
-
32
- - **Repository:** [More Information Needed]
33
- - **Paper [optional]:** [More Information Needed]
34
- - **Demo [optional]:** [More Information Needed]
35
-
36
- ## Uses
37
-
38
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
-
40
- ### Direct Use
41
-
42
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
-
44
- [More Information Needed]
45
-
46
- ### Downstream Use [optional]
47
-
48
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
-
50
- [More Information Needed]
51
-
52
- ### Out-of-Scope Use
53
-
54
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
-
56
- [More Information Needed]
57
-
58
- ## Bias, Risks, and Limitations
59
-
60
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
-
62
- [More Information Needed]
63
-
64
- ### Recommendations
65
-
66
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
-
68
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
-
70
- ## How to Get Started with the Model
71
-
72
- Use the code below to get started with the model.
73
-
74
- [More Information Needed]
75
-
76
- ## Training Details
77
-
78
- ### Training Data
79
-
80
- <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
-
82
- [More Information Needed]
83
-
84
- ### Training Procedure
85
-
86
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
-
88
- #### Preprocessing [optional]
89
-
90
- [More Information Needed]
91
-
92
-
93
- #### Training Hyperparameters
94
-
95
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
-
97
- #### Speeds, Sizes, Times [optional]
98
-
99
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
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/mit-b3
5
+ tags:
6
+ - vision
7
+ - image-segmentation
8
+ - generated_from_trainer
9
+ model-index:
10
+ - name: segformer-b0-finetuned-morphpadver1-hgo-30-coord-v3_120epochs
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-b0-finetuned-morphpadver1-hgo-30-coord-v3_120epochs
18
+
19
+ This model is a fine-tuned version of [nvidia/mit-b3](https://huggingface.co/nvidia/mit-b3) on the NICOPOI-9/morphpad_coord_hgo_30_30_512_4class dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.3128
22
+ - Mean Iou: 0.7857
23
+ - Mean Accuracy: 0.8800
24
+ - Overall Accuracy: 0.8799
25
+ - Accuracy 0-0: 0.8782
26
+ - Accuracy 0-90: 0.8842
27
+ - Accuracy 90-0: 0.8809
28
+ - Accuracy 90-90: 0.8765
29
+ - Iou 0-0: 0.7869
30
+ - Iou 0-90: 0.7762
31
+ - Iou 90-0: 0.7880
32
+ - Iou 90-90: 0.7916
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: 120
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.188 | 4.2105 | 4000 | 1.2023 | 0.2499 | 0.3996 | 0.3995 | 0.3256 | 0.4999 | 0.4603 | 0.3124 | 0.2510 | 0.2542 | 0.2429 | 0.2514 |
64
+ | 0.9829 | 8.4211 | 8000 | 0.9446 | 0.3676 | 0.5326 | 0.5326 | 0.4568 | 0.5068 | 0.7157 | 0.4508 | 0.3872 | 0.3492 | 0.3434 | 0.3907 |
65
+ | 0.7539 | 12.6316 | 12000 | 0.7804 | 0.4475 | 0.6163 | 0.6168 | 0.5690 | 0.6618 | 0.5314 | 0.7030 | 0.4806 | 0.4244 | 0.4335 | 0.4513 |
66
+ | 0.969 | 16.8421 | 16000 | 0.6554 | 0.5152 | 0.6775 | 0.6780 | 0.6172 | 0.7013 | 0.6543 | 0.7372 | 0.5533 | 0.4849 | 0.5090 | 0.5136 |
67
+ | 0.5649 | 21.0526 | 20000 | 0.5879 | 0.5597 | 0.7156 | 0.7157 | 0.6964 | 0.7740 | 0.6842 | 0.7078 | 0.5869 | 0.5181 | 0.5555 | 0.5782 |
68
+ | 0.5983 | 25.2632 | 24000 | 0.5229 | 0.5963 | 0.7464 | 0.7460 | 0.8236 | 0.7139 | 0.7132 | 0.7348 | 0.5647 | 0.6058 | 0.6038 | 0.6110 |
69
+ | 0.5077 | 29.4737 | 28000 | 0.4971 | 0.6133 | 0.7587 | 0.7585 | 0.7767 | 0.7577 | 0.7964 | 0.7042 | 0.6236 | 0.6053 | 0.5724 | 0.6519 |
70
+ | 0.456 | 33.6842 | 32000 | 0.4880 | 0.6346 | 0.7763 | 0.7764 | 0.7792 | 0.7575 | 0.7675 | 0.8011 | 0.6434 | 0.6257 | 0.6376 | 0.6317 |
71
+ | 0.4278 | 37.8947 | 36000 | 0.4139 | 0.6688 | 0.8015 | 0.8014 | 0.8149 | 0.7962 | 0.8101 | 0.7849 | 0.6663 | 0.6599 | 0.6611 | 0.6880 |
72
+ | 0.4974 | 42.1053 | 40000 | 0.3921 | 0.6863 | 0.8132 | 0.8132 | 0.7997 | 0.8370 | 0.8165 | 0.7996 | 0.7065 | 0.6548 | 0.6794 | 0.7046 |
73
+ | 0.4364 | 46.3158 | 44000 | 0.3697 | 0.7023 | 0.8244 | 0.8247 | 0.7941 | 0.8293 | 0.8225 | 0.8520 | 0.7248 | 0.6884 | 0.6982 | 0.6978 |
74
+ | 0.3254 | 50.5263 | 48000 | 0.3521 | 0.7152 | 0.8340 | 0.8338 | 0.8529 | 0.8268 | 0.8315 | 0.8247 | 0.7016 | 0.7133 | 0.7162 | 0.7295 |
75
+ | 0.3139 | 54.7368 | 52000 | 0.3471 | 0.7224 | 0.8386 | 0.8386 | 0.8343 | 0.8526 | 0.8305 | 0.8371 | 0.7209 | 0.7032 | 0.7306 | 0.7347 |
76
+ | 0.3209 | 58.9474 | 56000 | 0.3253 | 0.7359 | 0.8479 | 0.8479 | 0.8565 | 0.8363 | 0.8525 | 0.8463 | 0.7340 | 0.7348 | 0.7294 | 0.7455 |
77
+ | 0.2815 | 63.1579 | 60000 | 0.3234 | 0.7421 | 0.8516 | 0.8516 | 0.8468 | 0.8707 | 0.8431 | 0.8459 | 0.7466 | 0.7148 | 0.7463 | 0.7608 |
78
+ | 0.3002 | 67.3684 | 64000 | 0.3132 | 0.7520 | 0.8584 | 0.8584 | 0.8545 | 0.8623 | 0.8503 | 0.8663 | 0.7544 | 0.7411 | 0.7560 | 0.7566 |
79
+ | 0.2874 | 71.5789 | 68000 | 0.3068 | 0.7571 | 0.8615 | 0.8615 | 0.8582 | 0.8814 | 0.8540 | 0.8524 | 0.7628 | 0.7325 | 0.7639 | 0.7693 |
80
+ | 1.0781 | 75.7895 | 72000 | 0.3185 | 0.7524 | 0.8588 | 0.8586 | 0.8755 | 0.8528 | 0.8649 | 0.8419 | 0.7446 | 0.7461 | 0.7503 | 0.7686 |
81
+ | 0.2688 | 80.0 | 76000 | 0.2993 | 0.7663 | 0.8676 | 0.8676 | 0.8688 | 0.8677 | 0.8639 | 0.8702 | 0.7693 | 0.7553 | 0.7674 | 0.7730 |
82
+ | 0.2566 | 84.2105 | 80000 | 0.2962 | 0.7696 | 0.8698 | 0.8698 | 0.8669 | 0.8687 | 0.8673 | 0.8761 | 0.7729 | 0.7574 | 0.7739 | 0.7744 |
83
+ | 0.2556 | 88.4211 | 84000 | 0.2985 | 0.7754 | 0.8735 | 0.8735 | 0.8735 | 0.8679 | 0.8799 | 0.8726 | 0.7767 | 0.7676 | 0.7734 | 0.7839 |
84
+ | 0.2402 | 92.6316 | 88000 | 0.2976 | 0.7786 | 0.8755 | 0.8755 | 0.8786 | 0.8751 | 0.8694 | 0.8790 | 0.7766 | 0.7711 | 0.7810 | 0.7858 |
85
+ | 0.286 | 96.8421 | 92000 | 0.2998 | 0.7803 | 0.8766 | 0.8766 | 0.8733 | 0.8750 | 0.8828 | 0.8752 | 0.7833 | 0.7733 | 0.7770 | 0.7876 |
86
+ | 0.1853 | 101.0526 | 96000 | 0.2987 | 0.7843 | 0.8791 | 0.8791 | 0.8810 | 0.8816 | 0.8813 | 0.8726 | 0.7811 | 0.7754 | 0.7870 | 0.7935 |
87
+ | 0.2401 | 105.2632 | 100000 | 0.3093 | 0.7819 | 0.8776 | 0.8776 | 0.8761 | 0.8820 | 0.8791 | 0.8732 | 0.7818 | 0.7701 | 0.7864 | 0.7893 |
88
+ | 0.2546 | 109.4737 | 104000 | 0.3095 | 0.7846 | 0.8793 | 0.8793 | 0.8819 | 0.8829 | 0.8756 | 0.8766 | 0.7850 | 0.7731 | 0.7891 | 0.7912 |
89
+ | 0.3595 | 113.6842 | 108000 | 0.3096 | 0.7857 | 0.8800 | 0.8800 | 0.8777 | 0.8820 | 0.8795 | 0.8806 | 0.7858 | 0.7766 | 0.7892 | 0.7912 |
90
+ | 0.2484 | 117.8947 | 112000 | 0.3128 | 0.7857 | 0.8800 | 0.8799 | 0.8782 | 0.8842 | 0.8809 | 0.8765 | 0.7869 | 0.7762 | 0.7880 | 0.7916 |
91
+
92
+
93
+ ### Framework versions
94
+
95
+ - Transformers 4.48.3
96
+ - Pytorch 2.1.0
97
+ - Datasets 3.2.0
98
+ - Tokenizers 0.21.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
config.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "nvidia/mit-b3",
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
+ 4,
12
+ 18,
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:113202d82c87c6fa03a9969eae0598ba4a1af33f415f854053e905b450d1f5c0
3
+ size 188985928
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c88401471bc97ff7394117a5eef3bf70db42630e23ff6da50329fe6c2ba8a1e6
3
+ size 5496