unreal-hug
commited on
Commit
•
4b3be16
1
Parent(s):
ba71bb6
End of training
Browse files- README.md +93 -198
- config.json +98 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
CHANGED
@@ -1,201 +1,96 @@
|
|
1 |
---
|
2 |
-
|
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 |
-
[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]
|
200 |
-
|
201 |
-
|
|
|
1 |
---
|
2 |
+
license: other
|
3 |
+
base_model: nvidia/mit-b3
|
4 |
+
tags:
|
5 |
+
- vision
|
6 |
+
- image-segmentation
|
7 |
+
- generated_from_trainer
|
8 |
+
model-index:
|
9 |
+
- name: segformer-b2-seed63-apr-13-v1
|
10 |
+
results: []
|
11 |
---
|
12 |
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# segformer-b2-seed63-apr-13-v1
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [nvidia/mit-b3](https://huggingface.co/nvidia/mit-b3) on the unreal-hug/REAL_DATASET_SEG_401_6_lbls dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 1.7138
|
21 |
+
- Mean Iou: 0.1266
|
22 |
+
- Mean Accuracy: 0.2136
|
23 |
+
- Overall Accuracy: 0.4273
|
24 |
+
- Accuracy Unlabeled: nan
|
25 |
+
- Accuracy Lv: 0.6939
|
26 |
+
- Accuracy Rv: 0.0982
|
27 |
+
- Accuracy Ra: 0.1706
|
28 |
+
- Accuracy La: 0.5041
|
29 |
+
- Accuracy Vs: 0.0
|
30 |
+
- Accuracy As: 0.0
|
31 |
+
- Accuracy Mk: 0.0
|
32 |
+
- Accuracy Tk: nan
|
33 |
+
- Accuracy Asd: 0.0557
|
34 |
+
- Accuracy Vsd: 0.2283
|
35 |
+
- Accuracy Ak: 0.3849
|
36 |
+
- Iou Unlabeled: 0.0
|
37 |
+
- Iou Lv: 0.4965
|
38 |
+
- Iou Rv: 0.0899
|
39 |
+
- Iou Ra: 0.1288
|
40 |
+
- Iou La: 0.2845
|
41 |
+
- Iou Vs: 0.0
|
42 |
+
- Iou As: 0.0
|
43 |
+
- Iou Mk: 0.0
|
44 |
+
- Iou Tk: 0.0
|
45 |
+
- Iou Asd: 0.0462
|
46 |
+
- Iou Vsd: 0.1513
|
47 |
+
- Iou Ak: 0.3225
|
48 |
+
|
49 |
+
## Model description
|
50 |
+
|
51 |
+
More information needed
|
52 |
+
|
53 |
+
## Intended uses & limitations
|
54 |
+
|
55 |
+
More information needed
|
56 |
+
|
57 |
+
## Training and evaluation data
|
58 |
+
|
59 |
+
More information needed
|
60 |
+
|
61 |
+
## Training procedure
|
62 |
+
|
63 |
+
### Training hyperparameters
|
64 |
+
|
65 |
+
The following hyperparameters were used during training:
|
66 |
+
- learning_rate: 1e-06
|
67 |
+
- train_batch_size: 8
|
68 |
+
- eval_batch_size: 8
|
69 |
+
- seed: 42
|
70 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
71 |
+
- lr_scheduler_type: cosine
|
72 |
+
- lr_scheduler_warmup_ratio: 0.05
|
73 |
+
- training_steps: 1000
|
74 |
+
|
75 |
+
### Training results
|
76 |
+
|
77 |
+
| Training Loss | Epoch | Step | Validation Loss | Mean Iou | Mean Accuracy | Overall Accuracy | Accuracy Unlabeled | Accuracy Lv | Accuracy Rv | Accuracy Ra | Accuracy La | Accuracy Vs | Accuracy As | Accuracy Mk | Accuracy Tk | Accuracy Asd | Accuracy Vsd | Accuracy Ak | Iou Unlabeled | Iou Lv | Iou Rv | Iou Ra | Iou La | Iou Vs | Iou As | Iou Mk | Iou Tk | Iou Asd | Iou Vsd | Iou Ak |
|
78 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:-------------:|:----------------:|:------------------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:------------:|:------------:|:-----------:|:-------------:|:------:|:------:|:------:|:------:|:------:|:------:|:------:|:------:|:-------:|:-------:|:------:|
|
79 |
+
| 2.5423 | 2.5 | 100 | 2.6367 | 0.0332 | 0.0976 | 0.0951 | nan | 0.0612 | 0.0642 | 0.0301 | 0.1898 | 0.0 | 0.0 | 0.0086 | nan | 0.0495 | 0.4697 | 0.1033 | 0.0 | 0.0573 | 0.0485 | 0.0262 | 0.1021 | 0.0 | 0.0 | 0.0019 | 0.0 | 0.0204 | 0.0612 | 0.0812 |
|
80 |
+
| 2.3042 | 5.0 | 200 | 2.3925 | 0.0604 | 0.1412 | 0.1975 | nan | 0.2435 | 0.0655 | 0.1292 | 0.2869 | 0.0 | 0.0 | 0.0046 | nan | 0.0669 | 0.4894 | 0.1258 | 0.0 | 0.2144 | 0.0516 | 0.1074 | 0.1515 | 0.0 | 0.0 | 0.0017 | 0.0 | 0.0243 | 0.0670 | 0.1063 |
|
81 |
+
| 2.0869 | 7.5 | 300 | 2.2183 | 0.0932 | 0.1839 | 0.3354 | nan | 0.5208 | 0.0717 | 0.1836 | 0.4192 | 0.0 | 0.0 | 0.0006 | nan | 0.0768 | 0.3608 | 0.2060 | 0.0 | 0.4077 | 0.0617 | 0.1436 | 0.2158 | 0.0 | 0.0 | 0.0003 | 0.0 | 0.0358 | 0.0787 | 0.1746 |
|
82 |
+
| 2.0559 | 10.0 | 400 | 2.0298 | 0.1110 | 0.2055 | 0.3886 | nan | 0.6144 | 0.1027 | 0.1815 | 0.4598 | 0.0 | 0.0 | 0.0005 | nan | 0.0909 | 0.3011 | 0.3041 | 0.0 | 0.4559 | 0.0880 | 0.1400 | 0.2409 | 0.0 | 0.0 | 0.0003 | 0.0 | 0.0534 | 0.1001 | 0.2538 |
|
83 |
+
| 1.9554 | 12.5 | 500 | 1.8871 | 0.1189 | 0.2111 | 0.4100 | nan | 0.6561 | 0.1004 | 0.1647 | 0.4900 | 0.0 | 0.0 | 0.0009 | nan | 0.0763 | 0.2611 | 0.3619 | 0.0 | 0.4739 | 0.0896 | 0.1263 | 0.2616 | 0.0 | 0.0 | 0.0007 | 0.0 | 0.0531 | 0.1207 | 0.3015 |
|
84 |
+
| 2.0181 | 15.0 | 600 | 1.7720 | 0.1247 | 0.2139 | 0.4199 | nan | 0.6735 | 0.1008 | 0.1723 | 0.4898 | 0.0 | 0.0 | 0.0 | nan | 0.0706 | 0.2349 | 0.3972 | 0.0 | 0.4860 | 0.0912 | 0.1293 | 0.2720 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0532 | 0.1386 | 0.3256 |
|
85 |
+
| 1.6723 | 17.5 | 700 | 1.7386 | 0.1258 | 0.2129 | 0.4251 | nan | 0.6860 | 0.1011 | 0.1724 | 0.5062 | 0.0 | 0.0 | 0.0 | nan | 0.0615 | 0.2167 | 0.3848 | 0.0 | 0.4927 | 0.0917 | 0.1304 | 0.2814 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0488 | 0.1426 | 0.3221 |
|
86 |
+
| 1.5613 | 20.0 | 800 | 1.7751 | 0.1269 | 0.2151 | 0.4322 | nan | 0.7050 | 0.1020 | 0.1730 | 0.5066 | 0.0 | 0.0 | 0.0 | nan | 0.0570 | 0.2288 | 0.3788 | 0.0 | 0.4990 | 0.0927 | 0.1308 | 0.2841 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0465 | 0.1502 | 0.3199 |
|
87 |
+
| 1.5653 | 22.5 | 900 | 1.7222 | 0.1272 | 0.2142 | 0.4277 | nan | 0.6924 | 0.1003 | 0.1794 | 0.5018 | 0.0 | 0.0 | 0.0 | nan | 0.0568 | 0.2295 | 0.3814 | 0.0 | 0.4969 | 0.0914 | 0.1341 | 0.2837 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0466 | 0.1523 | 0.3209 |
|
88 |
+
| 1.5196 | 25.0 | 1000 | 1.7138 | 0.1266 | 0.2136 | 0.4273 | nan | 0.6939 | 0.0982 | 0.1706 | 0.5041 | 0.0 | 0.0 | 0.0 | nan | 0.0557 | 0.2283 | 0.3849 | 0.0 | 0.4965 | 0.0899 | 0.1288 | 0.2845 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0462 | 0.1513 | 0.3225 |
|
89 |
+
|
90 |
+
|
91 |
+
### Framework versions
|
92 |
+
|
93 |
+
- Transformers 4.37.2
|
94 |
+
- Pytorch 2.1.2+cu121
|
95 |
+
- Datasets 2.16.1
|
96 |
+
- Tokenizers 0.15.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config.json
ADDED
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "unlabeled",
|
32 |
+
"1": "LV",
|
33 |
+
"2": "RV",
|
34 |
+
"3": "RA",
|
35 |
+
"4": "LA",
|
36 |
+
"5": "VS",
|
37 |
+
"6": "AS",
|
38 |
+
"7": "MK",
|
39 |
+
"8": "TK",
|
40 |
+
"9": "ASD",
|
41 |
+
"10": "VSD",
|
42 |
+
"11": "AK"
|
43 |
+
},
|
44 |
+
"image_size": 224,
|
45 |
+
"initializer_range": 0.02,
|
46 |
+
"label2id": {
|
47 |
+
"AK": 11,
|
48 |
+
"AS": 6,
|
49 |
+
"ASD": 9,
|
50 |
+
"LA": 4,
|
51 |
+
"LV": 1,
|
52 |
+
"MK": 7,
|
53 |
+
"RA": 3,
|
54 |
+
"RV": 2,
|
55 |
+
"TK": 8,
|
56 |
+
"VS": 5,
|
57 |
+
"VSD": 10,
|
58 |
+
"unlabeled": 0
|
59 |
+
},
|
60 |
+
"layer_norm_eps": 1e-06,
|
61 |
+
"mlp_ratios": [
|
62 |
+
4,
|
63 |
+
4,
|
64 |
+
4,
|
65 |
+
4
|
66 |
+
],
|
67 |
+
"model_type": "segformer",
|
68 |
+
"num_attention_heads": [
|
69 |
+
1,
|
70 |
+
2,
|
71 |
+
5,
|
72 |
+
8
|
73 |
+
],
|
74 |
+
"num_channels": 3,
|
75 |
+
"num_encoder_blocks": 4,
|
76 |
+
"patch_sizes": [
|
77 |
+
7,
|
78 |
+
3,
|
79 |
+
3,
|
80 |
+
3
|
81 |
+
],
|
82 |
+
"reshape_last_stage": true,
|
83 |
+
"semantic_loss_ignore_index": 255,
|
84 |
+
"sr_ratios": [
|
85 |
+
8,
|
86 |
+
4,
|
87 |
+
2,
|
88 |
+
1
|
89 |
+
],
|
90 |
+
"strides": [
|
91 |
+
4,
|
92 |
+
2,
|
93 |
+
2,
|
94 |
+
2
|
95 |
+
],
|
96 |
+
"torch_dtype": "float32",
|
97 |
+
"transformers_version": "4.37.2"
|
98 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:27f61c0e467806ad47e882a937c4830bf6cdf435c3e90b278fe6e9be92cbb60f
|
3 |
+
size 189010544
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:663aab95df96a3fa9d15094f70edd1f75cdb844d3605c35e5bd3347b49b1bbb7
|
3 |
+
size 4728
|