ibrahimahmood
commited on
End of training
Browse files- README.md +92 -198
- config.json +98 -0
- model.safetensors +3 -0
- runs/Feb19_06-39-48_d30e3cc42f30/events.out.tfevents.1708324804.d30e3cc42f30.438.0 +3 -0
- runs/Feb19_07-02-38_d30e3cc42f30/events.out.tfevents.1708326173.d30e3cc42f30.438.1 +3 -0
- runs/Feb19_07-02-38_d30e3cc42f30/events.out.tfevents.1708326376.d30e3cc42f30.438.2 +3 -0
- training_args.bin +3 -0
README.md
CHANGED
@@ -1,201 +1,95 @@
|
|
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-b0
|
4 |
+
tags:
|
5 |
+
- vision
|
6 |
+
- image-segmentation
|
7 |
+
- generated_from_trainer
|
8 |
+
model-index:
|
9 |
+
- name: segformer-b0-finetuned-segments-sidewalk-oct-22
|
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-b0-finetuned-segments-sidewalk-oct-22
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [nvidia/mit-b0](https://huggingface.co/nvidia/mit-b0) on the jaradat/pidray-semantics dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.6864
|
21 |
+
- Mean Iou: 0.3640
|
22 |
+
- Mean Accuracy: 0.7280
|
23 |
+
- Overall Accuracy: 0.7280
|
24 |
+
- Accuracy Baton: nan
|
25 |
+
- Accuracy Pliers: 0.7280
|
26 |
+
- Accuracy Hammer: nan
|
27 |
+
- Accuracy Powerbank: nan
|
28 |
+
- Accuracy Scissors: nan
|
29 |
+
- Accuracy Wrench: nan
|
30 |
+
- Accuracy Gun: nan
|
31 |
+
- Accuracy Bullet: nan
|
32 |
+
- Accuracy Sprayer: nan
|
33 |
+
- Accuracy Handcuffs: nan
|
34 |
+
- Accuracy Knife: nan
|
35 |
+
- Accuracy Lighter: nan
|
36 |
+
- Iou Baton: 0.0
|
37 |
+
- Iou Pliers: 0.7280
|
38 |
+
- Iou Hammer: nan
|
39 |
+
- Iou Powerbank: nan
|
40 |
+
- Iou Scissors: nan
|
41 |
+
- Iou Wrench: nan
|
42 |
+
- Iou Gun: nan
|
43 |
+
- Iou Bullet: nan
|
44 |
+
- Iou Sprayer: nan
|
45 |
+
- Iou Handcuffs: nan
|
46 |
+
- Iou Knife: nan
|
47 |
+
- Iou Lighter: nan
|
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: 6e-05
|
67 |
+
- train_batch_size: 2
|
68 |
+
- eval_batch_size: 2
|
69 |
+
- seed: 42
|
70 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
71 |
+
- lr_scheduler_type: linear
|
72 |
+
- num_epochs: 5
|
73 |
+
|
74 |
+
### Training results
|
75 |
+
|
76 |
+
| Training Loss | Epoch | Step | Validation Loss | Mean Iou | Mean Accuracy | Overall Accuracy | Accuracy Baton | Accuracy Pliers | Accuracy Hammer | Accuracy Powerbank | Accuracy Scissors | Accuracy Wrench | Accuracy Gun | Accuracy Bullet | Accuracy Sprayer | Accuracy Handcuffs | Accuracy Knife | Accuracy Lighter | Iou Baton | Iou Pliers | Iou Hammer | Iou Powerbank | Iou Scissors | Iou Wrench | Iou Gun | Iou Bullet | Iou Sprayer | Iou Handcuffs | Iou Knife | Iou Lighter |
|
77 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:-------------:|:----------------:|:--------------:|:---------------:|:---------------:|:------------------:|:-----------------:|:---------------:|:------------:|:---------------:|:----------------:|:------------------:|:--------------:|:----------------:|:---------:|:----------:|:----------:|:-------------:|:------------:|:----------:|:-------:|:----------:|:-----------:|:-------------:|:---------:|:-----------:|
|
78 |
+
| 1.3901 | 0.5 | 20 | 1.0681 | 0.2394 | 0.7182 | 0.7182 | nan | 0.7182 | nan | nan | nan | nan | nan | nan | nan | nan | nan | nan | 0.0 | 0.7182 | nan | nan | nan | nan | nan | nan | nan | 0.0 | nan | nan |
|
79 |
+
| 1.0757 | 1.0 | 40 | 1.0174 | 0.2673 | 0.8019 | 0.8019 | nan | 0.8019 | nan | nan | nan | nan | nan | nan | nan | nan | nan | nan | 0.0 | 0.8019 | nan | nan | nan | nan | nan | nan | nan | 0.0 | nan | nan |
|
80 |
+
| 0.9644 | 1.5 | 60 | 0.9465 | 0.3957 | 0.7914 | 0.7914 | nan | 0.7914 | nan | nan | nan | nan | nan | nan | nan | nan | nan | nan | 0.0 | 0.7914 | nan | nan | nan | nan | nan | nan | nan | nan | nan | nan |
|
81 |
+
| 0.9893 | 2.0 | 80 | 0.9100 | 0.3731 | 0.7462 | 0.7462 | nan | 0.7462 | nan | nan | nan | nan | nan | nan | nan | nan | nan | nan | 0.0 | 0.7462 | nan | nan | nan | nan | nan | nan | nan | nan | nan | nan |
|
82 |
+
| 0.8518 | 2.5 | 100 | 0.8205 | 0.3708 | 0.7416 | 0.7416 | nan | 0.7416 | nan | nan | nan | nan | nan | nan | nan | nan | nan | nan | 0.0 | 0.7416 | nan | nan | nan | nan | nan | nan | nan | nan | nan | nan |
|
83 |
+
| 0.8305 | 3.0 | 120 | 0.7641 | 0.3670 | 0.7339 | 0.7339 | nan | 0.7339 | nan | nan | nan | nan | nan | nan | nan | nan | nan | nan | 0.0 | 0.7339 | nan | nan | nan | nan | nan | nan | nan | nan | nan | nan |
|
84 |
+
| 0.7404 | 3.5 | 140 | 0.7041 | 0.3557 | 0.7113 | 0.7113 | nan | 0.7113 | nan | nan | nan | nan | nan | nan | nan | nan | nan | nan | 0.0 | 0.7113 | nan | nan | nan | nan | nan | nan | nan | nan | nan | nan |
|
85 |
+
| 0.8427 | 4.0 | 160 | 0.7430 | 0.3803 | 0.7606 | 0.7606 | nan | 0.7606 | nan | nan | nan | nan | nan | nan | nan | nan | nan | nan | 0.0 | 0.7606 | nan | nan | nan | nan | nan | nan | nan | nan | nan | nan |
|
86 |
+
| 0.7279 | 4.5 | 180 | 0.7101 | 0.3707 | 0.7414 | 0.7414 | nan | 0.7414 | nan | nan | nan | nan | nan | nan | nan | nan | nan | nan | 0.0 | 0.7414 | nan | nan | nan | nan | nan | nan | nan | nan | nan | nan |
|
87 |
+
| 0.7587 | 5.0 | 200 | 0.6864 | 0.3640 | 0.7280 | 0.7280 | nan | 0.7280 | nan | nan | nan | nan | nan | nan | nan | nan | nan | nan | 0.0 | 0.7280 | nan | nan | nan | nan | nan | nan | nan | nan | nan | nan |
|
88 |
+
|
89 |
+
|
90 |
+
### Framework versions
|
91 |
+
|
92 |
+
- Trans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entation"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"classifier_dropout_prob": 0.1,
|
8 |
+
"decoder_hidden_size": 256,
|
9 |
+
"depths": [
|
10 |
+
2,
|
11 |
+
2,
|
12 |
+
2,
|
13 |
+
2
|
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 |
+
32,
|
26 |
+
64,
|
27 |
+
160,
|
28 |
+
256
|
29 |
+
],
|
30 |
+
"id2label": {
|
31 |
+
"1": "Baton",
|
32 |
+
"2": "Pliers",
|
33 |
+
"3": "Hammer",
|
34 |
+
"4": "Powerbank",
|
35 |
+
"5": "scissors",
|
36 |
+
"6": "Wrench",
|
37 |
+
"7": "Gun",
|
38 |
+
"8": "Bullet",
|
39 |
+
"9": "Sprayer",
|
40 |
+
"10": "HandCuffs",
|
41 |
+
"11": "Knife",
|
42 |
+
"12": "Lighter"
|
43 |
+
},
|
44 |
+
"image_size": 224,
|
45 |
+
"initializer_range": 0.02,
|
46 |
+
"label2id": {
|
47 |
+
"Baton": 1,
|
48 |
+
"Bullet": 8,
|
49 |
+
"Gun": 7,
|
50 |
+
"Hammer": 3,
|
51 |
+
"HandCuffs": 10,
|
52 |
+
"Knife": 11,
|
53 |
+
"Lighter": 12,
|
54 |
+
"Pliers": 2,
|
55 |
+
"Powerbank": 4,
|
56 |
+
"Sprayer": 9,
|
57 |
+
"Wrench": 6,
|
58 |
+
"scissors": 5
|
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:6f911c5f0a48de398651b2d79f4916f3e1c25710ba14a14a0ae0c5e1cfd80250
|
3 |
+
size 14895064
|
runs/Feb19_06-39-48_d30e3cc42f30/events.out.tfevents.1708324804.d30e3cc42f30.438.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4e7f07d19c7afa38a8edc49d6b5f0de9fcd4f524671f6597f486759fc966be71
|
3 |
+
size 161351
|
runs/Feb19_07-02-38_d30e3cc42f30/events.out.tfevents.1708326173.d30e3cc42f30.438.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d003dbde7b3c3e6327af1575c4a1d171e9d32151f841d83ca6b29460230ddb20
|
3 |
+
size 16686
|
runs/Feb19_07-02-38_d30e3cc42f30/events.out.tfevents.1708326376.d30e3cc42f30.438.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:587b62b4a7a54561d6692a1cbc7a947b0b9134f029f313e9fd2d1da355dc26f9
|
3 |
+
size 54548
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:adf490d537b95b63a345219efe88a5ecf9cf547a648f11977bce3b1fca842f9b
|
3 |
+
size 4792
|