End of training
Browse files- README.md +104 -0
- config.json +80 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
base_model: nvidia/mit-b1
|
4 |
+
tags:
|
5 |
+
- vision
|
6 |
+
- image-segmentation
|
7 |
+
- generated_from_trainer
|
8 |
+
model-index:
|
9 |
+
- name: segformer-b1-finetuned-Hiking
|
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-b1-finetuned-Hiking
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [nvidia/mit-b1](https://huggingface.co/nvidia/mit-b1) on the twdent/Hiking dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.1129
|
21 |
+
- Mean Iou: 0.6261
|
22 |
+
- Mean Accuracy: 0.9707
|
23 |
+
- Overall Accuracy: 0.9700
|
24 |
+
- Accuracy Unlabeled: nan
|
25 |
+
- Accuracy Traversable: 0.9730
|
26 |
+
- Accuracy Non-traversable: 0.9684
|
27 |
+
- Iou Unlabeled: 0.0
|
28 |
+
- Iou Traversable: 0.9226
|
29 |
+
- Iou Non-traversable: 0.9557
|
30 |
+
|
31 |
+
## Model description
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Intended uses & limitations
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Training and evaluation data
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Training procedure
|
44 |
+
|
45 |
+
### Training hyperparameters
|
46 |
+
|
47 |
+
The following hyperparameters were used during training:
|
48 |
+
- learning_rate: 6e-05
|
49 |
+
- train_batch_size: 2
|
50 |
+
- eval_batch_size: 2
|
51 |
+
- seed: 42
|
52 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
53 |
+
- lr_scheduler_type: linear
|
54 |
+
- num_epochs: 50
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss | Mean Iou | Mean Accuracy | Overall Accuracy | Accuracy Unlabeled | Accuracy Traversable | Accuracy Non-traversable | Iou Unlabeled | Iou Traversable | Iou Non-traversable |
|
59 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:-------------:|:----------------:|:------------------:|:--------------------:|:------------------------:|:-------------:|:---------------:|:-------------------:|
|
60 |
+
| 0.5526 | 1.33 | 20 | 0.7232 | 0.5814 | 0.9404 | 0.9333 | nan | 0.9630 | 0.9177 | 0.0 | 0.8433 | 0.9009 |
|
61 |
+
| 0.3768 | 2.67 | 40 | 0.3616 | 0.5929 | 0.9504 | 0.9453 | nan | 0.9666 | 0.9341 | 0.0 | 0.8605 | 0.9183 |
|
62 |
+
| 0.3271 | 4.0 | 60 | 0.2683 | 0.6080 | 0.9606 | 0.9571 | nan | 0.9718 | 0.9494 | 0.0 | 0.8883 | 0.9358 |
|
63 |
+
| 0.2377 | 5.33 | 80 | 0.2754 | 0.5869 | 0.9256 | 0.9429 | nan | 0.8706 | 0.9807 | 0.0 | 0.8415 | 0.9191 |
|
64 |
+
| 0.2242 | 6.67 | 100 | 0.2299 | 0.6027 | 0.9447 | 0.9545 | nan | 0.9134 | 0.9760 | 0.0 | 0.8739 | 0.9341 |
|
65 |
+
| 0.2458 | 8.0 | 120 | 0.1939 | 0.6207 | 0.9604 | 0.9667 | nan | 0.9402 | 0.9805 | 0.0 | 0.9107 | 0.9513 |
|
66 |
+
| 0.1541 | 9.33 | 140 | 0.1988 | 0.6121 | 0.9654 | 0.9599 | nan | 0.9831 | 0.9477 | 0.0 | 0.8967 | 0.9395 |
|
67 |
+
| 0.1448 | 10.67 | 160 | 0.1722 | 0.6202 | 0.9677 | 0.9662 | nan | 0.9725 | 0.9629 | 0.0 | 0.9112 | 0.9494 |
|
68 |
+
| 0.1533 | 12.0 | 180 | 0.2112 | 0.5951 | 0.9570 | 0.9454 | nan | 0.9941 | 0.9199 | 0.0 | 0.8676 | 0.9176 |
|
69 |
+
| 0.107 | 13.33 | 200 | 0.1658 | 0.6139 | 0.9626 | 0.9614 | nan | 0.9665 | 0.9587 | 0.0 | 0.8992 | 0.9426 |
|
70 |
+
| 0.109 | 14.67 | 220 | 0.1342 | 0.6267 | 0.9714 | 0.9712 | nan | 0.9724 | 0.9705 | 0.0 | 0.9231 | 0.9569 |
|
71 |
+
| 0.1092 | 16.0 | 240 | 0.1448 | 0.6173 | 0.9690 | 0.9636 | nan | 0.9860 | 0.9519 | 0.0 | 0.9065 | 0.9453 |
|
72 |
+
| 0.0971 | 17.33 | 260 | 0.1282 | 0.6216 | 0.9691 | 0.9673 | nan | 0.9747 | 0.9635 | 0.0 | 0.9136 | 0.9512 |
|
73 |
+
| 0.1448 | 18.67 | 280 | 0.1504 | 0.6155 | 0.9661 | 0.9619 | nan | 0.9795 | 0.9526 | 0.0 | 0.9032 | 0.9434 |
|
74 |
+
| 0.0797 | 20.0 | 300 | 0.1312 | 0.6209 | 0.9669 | 0.9666 | nan | 0.9680 | 0.9659 | 0.0 | 0.9124 | 0.9503 |
|
75 |
+
| 0.0766 | 21.33 | 320 | 0.1164 | 0.6251 | 0.9667 | 0.9696 | nan | 0.9574 | 0.9760 | 0.0 | 0.9198 | 0.9555 |
|
76 |
+
| 0.0822 | 22.67 | 340 | 0.1365 | 0.6171 | 0.9638 | 0.9639 | nan | 0.9635 | 0.9641 | 0.0 | 0.9050 | 0.9464 |
|
77 |
+
| 0.075 | 24.0 | 360 | 0.1401 | 0.6160 | 0.9679 | 0.9621 | nan | 0.9862 | 0.9495 | 0.0 | 0.9046 | 0.9433 |
|
78 |
+
| 0.0684 | 25.33 | 380 | 0.1317 | 0.6190 | 0.9687 | 0.9645 | nan | 0.9822 | 0.9552 | 0.0 | 0.9099 | 0.9472 |
|
79 |
+
| 0.0767 | 26.67 | 400 | 0.1293 | 0.6195 | 0.9699 | 0.9651 | nan | 0.9851 | 0.9547 | 0.0 | 0.9107 | 0.9478 |
|
80 |
+
| 0.0576 | 28.0 | 420 | 0.1195 | 0.6236 | 0.9701 | 0.9679 | nan | 0.9771 | 0.9631 | 0.0 | 0.9180 | 0.9529 |
|
81 |
+
| 0.0596 | 29.33 | 440 | 0.1179 | 0.6248 | 0.9717 | 0.9692 | nan | 0.9794 | 0.9639 | 0.0 | 0.9204 | 0.9541 |
|
82 |
+
| 0.0564 | 30.67 | 460 | 0.1110 | 0.6264 | 0.9719 | 0.9701 | nan | 0.9777 | 0.9661 | 0.0 | 0.9233 | 0.9559 |
|
83 |
+
| 0.0496 | 32.0 | 480 | 0.1063 | 0.6284 | 0.9726 | 0.9714 | nan | 0.9761 | 0.9690 | 0.0 | 0.9271 | 0.9581 |
|
84 |
+
| 0.0722 | 33.33 | 500 | 0.1073 | 0.6272 | 0.9712 | 0.9711 | nan | 0.9716 | 0.9708 | 0.0 | 0.9244 | 0.9573 |
|
85 |
+
| 0.0465 | 34.67 | 520 | 0.1228 | 0.6220 | 0.9692 | 0.9669 | nan | 0.9763 | 0.9620 | 0.0 | 0.9150 | 0.9510 |
|
86 |
+
| 0.0655 | 36.0 | 540 | 0.1142 | 0.6245 | 0.9704 | 0.9689 | nan | 0.9752 | 0.9656 | 0.0 | 0.9196 | 0.9540 |
|
87 |
+
| 0.0516 | 37.33 | 560 | 0.1197 | 0.6238 | 0.9687 | 0.9684 | nan | 0.9696 | 0.9677 | 0.0 | 0.9181 | 0.9533 |
|
88 |
+
| 0.0774 | 38.67 | 580 | 0.1114 | 0.6266 | 0.9706 | 0.9704 | nan | 0.9712 | 0.9700 | 0.0 | 0.9234 | 0.9565 |
|
89 |
+
| 0.0572 | 40.0 | 600 | 0.1124 | 0.6261 | 0.9707 | 0.9700 | nan | 0.9730 | 0.9684 | 0.0 | 0.9227 | 0.9558 |
|
90 |
+
| 0.0554 | 41.33 | 620 | 0.1116 | 0.6273 | 0.9718 | 0.9709 | nan | 0.9747 | 0.9688 | 0.0 | 0.9248 | 0.9570 |
|
91 |
+
| 0.0438 | 42.67 | 640 | 0.1192 | 0.6259 | 0.9707 | 0.9694 | nan | 0.9746 | 0.9667 | 0.0 | 0.9225 | 0.9551 |
|
92 |
+
| 0.0486 | 44.0 | 660 | 0.1186 | 0.6248 | 0.9709 | 0.9689 | nan | 0.9775 | 0.9643 | 0.0 | 0.9203 | 0.9540 |
|
93 |
+
| 0.0582 | 45.33 | 680 | 0.1194 | 0.6250 | 0.9705 | 0.9691 | nan | 0.9751 | 0.9660 | 0.0 | 0.9209 | 0.9542 |
|
94 |
+
| 0.0643 | 46.67 | 700 | 0.1157 | 0.6252 | 0.9706 | 0.9692 | nan | 0.9750 | 0.9662 | 0.0 | 0.9209 | 0.9546 |
|
95 |
+
| 0.057 | 48.0 | 720 | 0.1181 | 0.6251 | 0.9708 | 0.9691 | nan | 0.9763 | 0.9654 | 0.0 | 0.9210 | 0.9543 |
|
96 |
+
| 0.0468 | 49.33 | 740 | 0.1129 | 0.6261 | 0.9707 | 0.9700 | nan | 0.9730 | 0.9684 | 0.0 | 0.9226 | 0.9557 |
|
97 |
+
|
98 |
+
|
99 |
+
### Framework versions
|
100 |
+
|
101 |
+
- Transformers 4.35.0.dev0
|
102 |
+
- Pytorch 2.1.0+cu118
|
103 |
+
- Datasets 2.14.5
|
104 |
+
- Tokenizers 0.14.0
|
config.json
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "nvidia/mit-b1",
|
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": "traversable",
|
33 |
+
"2": "non-traversable"
|
34 |
+
},
|
35 |
+
"image_size": 224,
|
36 |
+
"initializer_range": 0.02,
|
37 |
+
"label2id": {
|
38 |
+
"non-traversable": 2,
|
39 |
+
"traversable": 1,
|
40 |
+
"unlabeled": 0
|
41 |
+
},
|
42 |
+
"layer_norm_eps": 1e-06,
|
43 |
+
"mlp_ratios": [
|
44 |
+
4,
|
45 |
+
4,
|
46 |
+
4,
|
47 |
+
4
|
48 |
+
],
|
49 |
+
"model_type": "segformer",
|
50 |
+
"num_attention_heads": [
|
51 |
+
1,
|
52 |
+
2,
|
53 |
+
5,
|
54 |
+
8
|
55 |
+
],
|
56 |
+
"num_channels": 3,
|
57 |
+
"num_encoder_blocks": 4,
|
58 |
+
"patch_sizes": [
|
59 |
+
7,
|
60 |
+
3,
|
61 |
+
3,
|
62 |
+
3
|
63 |
+
],
|
64 |
+
"reshape_last_stage": true,
|
65 |
+
"semantic_loss_ignore_index": 255,
|
66 |
+
"sr_ratios": [
|
67 |
+
8,
|
68 |
+
4,
|
69 |
+
2,
|
70 |
+
1
|
71 |
+
],
|
72 |
+
"strides": [
|
73 |
+
4,
|
74 |
+
2,
|
75 |
+
2,
|
76 |
+
2
|
77 |
+
],
|
78 |
+
"torch_dtype": "float32",
|
79 |
+
"transformers_version": "4.35.0.dev0"
|
80 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ba3d22225fb9ba7ef7c2692f5f5a2712ee796b1163079d55aa3371984787b845
|
3 |
+
size 54785866
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c0cd03afe374781e9c8f3a5fe3a2207a55b931326e81cf9aa9976a172b6e823d
|
3 |
+
size 4536
|