End of training
Browse files- README.md +113 -196
- config.json +78 -0
- model.safetensors +3 -0
- runs/Jul26_00-27-03_44f5d81de947/events.out.tfevents.1721953628.44f5d81de947.25.0 +3 -0
- training_args.bin +3 -0
README.md
CHANGED
@@ -1,199 +1,116 @@
|
|
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 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
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 |
+
license: other
|
3 |
+
base_model: nvidia/segformer-b1-finetuned-ade-512-512
|
4 |
+
tags:
|
5 |
+
- vision
|
6 |
+
- image-segmentation
|
7 |
+
- generated_from_trainer
|
8 |
+
metrics:
|
9 |
+
- precision
|
10 |
+
model-index:
|
11 |
+
- name: segformer-b1-finetuned-segments-pv_v1_normalized_t4_4batch
|
12 |
+
results: []
|
13 |
---
|
14 |
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/mouadn773/huggingface/runs/ovjr83to)
|
19 |
+
# segformer-b1-finetuned-segments-pv_v1_normalized_t4_4batch
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [nvidia/segformer-b1-finetuned-ade-512-512](https://huggingface.co/nvidia/segformer-b1-finetuned-ade-512-512) on the mouadenna/satellite_PV_dataset_train_test_v1 dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.0107
|
24 |
+
- Mean Iou: 0.8767
|
25 |
+
- Precision: 0.9236
|
26 |
+
|
27 |
+
## Model description
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Intended uses & limitations
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training and evaluation data
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Training procedure
|
40 |
+
|
41 |
+
### Training hyperparameters
|
42 |
+
|
43 |
+
The following hyperparameters were used during training:
|
44 |
+
- learning_rate: 0.0004
|
45 |
+
- train_batch_size: 8
|
46 |
+
- eval_batch_size: 8
|
47 |
+
- seed: 42
|
48 |
+
- gradient_accumulation_steps: 4
|
49 |
+
- total_train_batch_size: 32
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 50
|
53 |
+
- mixed_precision_training: Native AMP
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss | Mean Iou | Precision |
|
58 |
+
|:-------------:|:-------:|:----:|:---------------:|:--------:|:---------:|
|
59 |
+
| 0.0061 | 0.9935 | 114 | 0.0077 | 0.7881 | 0.8686 |
|
60 |
+
| 0.0043 | 1.9956 | 229 | 0.0063 | 0.8084 | 0.8541 |
|
61 |
+
| 0.0051 | 2.9978 | 344 | 0.0052 | 0.8338 | 0.9445 |
|
62 |
+
| 0.0141 | 4.0 | 459 | 0.0054 | 0.8421 | 0.8811 |
|
63 |
+
| 0.0043 | 4.9935 | 573 | 0.0052 | 0.8414 | 0.9099 |
|
64 |
+
| 0.0027 | 5.9956 | 688 | 0.0057 | 0.8450 | 0.8967 |
|
65 |
+
| 0.0054 | 6.9978 | 803 | 0.0052 | 0.8505 | 0.9364 |
|
66 |
+
| 0.0024 | 8.0 | 918 | 0.0064 | 0.8408 | 0.9001 |
|
67 |
+
| 0.0024 | 8.9935 | 1032 | 0.0068 | 0.8378 | 0.9158 |
|
68 |
+
| 0.0033 | 9.9956 | 1147 | 0.0055 | 0.8643 | 0.9156 |
|
69 |
+
| 0.0014 | 10.9978 | 1262 | 0.0055 | 0.8611 | 0.9048 |
|
70 |
+
| 0.0019 | 12.0 | 1377 | 0.0070 | 0.8410 | 0.8900 |
|
71 |
+
| 0.0025 | 12.9935 | 1491 | 0.0060 | 0.8629 | 0.9112 |
|
72 |
+
| 0.0018 | 13.9956 | 1606 | 0.0063 | 0.8577 | 0.9294 |
|
73 |
+
| 0.002 | 14.9978 | 1721 | 0.0063 | 0.8539 | 0.8888 |
|
74 |
+
| 0.002 | 16.0 | 1836 | 0.0072 | 0.8598 | 0.9172 |
|
75 |
+
| 0.0021 | 16.9935 | 1950 | 0.0062 | 0.8555 | 0.9074 |
|
76 |
+
| 0.0018 | 17.9956 | 2065 | 0.0069 | 0.8598 | 0.9167 |
|
77 |
+
| 0.0018 | 18.9978 | 2180 | 0.0074 | 0.8556 | 0.9160 |
|
78 |
+
| 0.002 | 20.0 | 2295 | 0.0067 | 0.8662 | 0.9117 |
|
79 |
+
| 0.003 | 20.9935 | 2409 | 0.0062 | 0.8724 | 0.9245 |
|
80 |
+
| 0.0027 | 21.9956 | 2524 | 0.0067 | 0.8727 | 0.9124 |
|
81 |
+
| 0.0013 | 22.9978 | 2639 | 0.0068 | 0.8684 | 0.9147 |
|
82 |
+
| 0.0011 | 24.0 | 2754 | 0.0070 | 0.8723 | 0.9165 |
|
83 |
+
| 0.0014 | 24.9935 | 2868 | 0.0074 | 0.8709 | 0.9257 |
|
84 |
+
| 0.0011 | 25.9956 | 2983 | 0.0075 | 0.8697 | 0.9139 |
|
85 |
+
| 0.001 | 26.9978 | 3098 | 0.0071 | 0.8780 | 0.9273 |
|
86 |
+
| 0.0011 | 28.0 | 3213 | 0.0075 | 0.8743 | 0.9182 |
|
87 |
+
| 0.0008 | 28.9935 | 3327 | 0.0080 | 0.8744 | 0.9234 |
|
88 |
+
| 0.0007 | 29.9956 | 3442 | 0.0086 | 0.8692 | 0.9205 |
|
89 |
+
| 0.001 | 30.9978 | 3557 | 0.0083 | 0.8720 | 0.9145 |
|
90 |
+
| 0.0009 | 32.0 | 3672 | 0.0084 | 0.8745 | 0.9167 |
|
91 |
+
| 0.0009 | 32.9935 | 3786 | 0.0084 | 0.8717 | 0.9155 |
|
92 |
+
| 0.0011 | 33.9956 | 3901 | 0.0084 | 0.8756 | 0.9279 |
|
93 |
+
| 0.0007 | 34.9978 | 4016 | 0.0090 | 0.8777 | 0.9233 |
|
94 |
+
| 0.0008 | 36.0 | 4131 | 0.0090 | 0.8744 | 0.9173 |
|
95 |
+
| 0.0011 | 36.9935 | 4245 | 0.0097 | 0.8753 | 0.9192 |
|
96 |
+
| 0.0008 | 37.9956 | 4360 | 0.0091 | 0.8757 | 0.9260 |
|
97 |
+
| 0.0009 | 38.9978 | 4475 | 0.0091 | 0.8739 | 0.9173 |
|
98 |
+
| 0.0008 | 40.0 | 4590 | 0.0103 | 0.8760 | 0.9274 |
|
99 |
+
| 0.0008 | 40.9935 | 4704 | 0.0106 | 0.8749 | 0.9263 |
|
100 |
+
| 0.0008 | 41.9956 | 4819 | 0.0097 | 0.8753 | 0.9238 |
|
101 |
+
| 0.0009 | 42.9978 | 4934 | 0.0099 | 0.8730 | 0.9159 |
|
102 |
+
| 0.0006 | 44.0 | 5049 | 0.0101 | 0.8757 | 0.9247 |
|
103 |
+
| 0.0006 | 44.9935 | 5163 | 0.0104 | 0.8756 | 0.9217 |
|
104 |
+
| 0.0007 | 45.9956 | 5278 | 0.0106 | 0.8720 | 0.9175 |
|
105 |
+
| 0.0006 | 46.9978 | 5393 | 0.0107 | 0.8753 | 0.9202 |
|
106 |
+
| 0.0005 | 48.0 | 5508 | 0.0107 | 0.8757 | 0.9224 |
|
107 |
+
| 0.0007 | 48.9935 | 5622 | 0.0107 | 0.8764 | 0.9227 |
|
108 |
+
| 0.0008 | 49.6732 | 5700 | 0.0107 | 0.8767 | 0.9236 |
|
109 |
+
|
110 |
+
|
111 |
+
### Framework versions
|
112 |
+
|
113 |
+
- Transformers 4.42.3
|
114 |
+
- Pytorch 2.1.2
|
115 |
+
- Datasets 2.20.0
|
116 |
+
- Tokenizers 0.19.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config.json
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "nvidia/segformer-b1-finetuned-ade-512-512",
|
3 |
+
"architectures": [
|
4 |
+
"SegformerForSemanticSegmentation"
|
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 |
+
64,
|
26 |
+
128,
|
27 |
+
320,
|
28 |
+
512
|
29 |
+
],
|
30 |
+
"id2label": {
|
31 |
+
"0": "unlabeled",
|
32 |
+
"1": "PV"
|
33 |
+
},
|
34 |
+
"image_size": 224,
|
35 |
+
"initializer_range": 0.02,
|
36 |
+
"label2id": {
|
37 |
+
"PV": 1,
|
38 |
+
"unlabeled": 0
|
39 |
+
},
|
40 |
+
"layer_norm_eps": 1e-06,
|
41 |
+
"mlp_ratios": [
|
42 |
+
4,
|
43 |
+
4,
|
44 |
+
4,
|
45 |
+
4
|
46 |
+
],
|
47 |
+
"model_type": "segformer",
|
48 |
+
"num_attention_heads": [
|
49 |
+
1,
|
50 |
+
2,
|
51 |
+
5,
|
52 |
+
8
|
53 |
+
],
|
54 |
+
"num_channels": 3,
|
55 |
+
"num_encoder_blocks": 4,
|
56 |
+
"patch_sizes": [
|
57 |
+
7,
|
58 |
+
3,
|
59 |
+
3,
|
60 |
+
3
|
61 |
+
],
|
62 |
+
"reshape_last_stage": true,
|
63 |
+
"semantic_loss_ignore_index": 255,
|
64 |
+
"sr_ratios": [
|
65 |
+
8,
|
66 |
+
4,
|
67 |
+
2,
|
68 |
+
1
|
69 |
+
],
|
70 |
+
"strides": [
|
71 |
+
4,
|
72 |
+
2,
|
73 |
+
2,
|
74 |
+
2
|
75 |
+
],
|
76 |
+
"torch_dtype": "float32",
|
77 |
+
"transformers_version": "4.42.3"
|
78 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:57ab8e0444a83be4b39059f9961b89b88ce323164ff8d382362da1fd1458f209
|
3 |
+
size 54737376
|
runs/Jul26_00-27-03_44f5d81de947/events.out.tfevents.1721953628.44f5d81de947.25.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b44d40bd1193740f354fc93ff61491a466fbb49b2ab6cf4488fae644839962db
|
3 |
+
size 1226830
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e66fdbc56ae9c03722f8d17aa58534ebf4137ed57b1fe8531207b4af8a15f0d8
|
3 |
+
size 5304
|