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-b5
|
4 |
+
tags:
|
5 |
+
- vision
|
6 |
+
- image-segmentation
|
7 |
+
- generated_from_trainer
|
8 |
+
model-index:
|
9 |
+
- name: segformer-b5-finetuned-HikingHD
|
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-b5-finetuned-HikingHD
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [nvidia/mit-b5](https://huggingface.co/nvidia/mit-b5) on the twdent/HikingHD dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.1077
|
21 |
+
- Mean Iou: 0.6364
|
22 |
+
- Mean Accuracy: 0.9770
|
23 |
+
- Overall Accuracy: 0.9771
|
24 |
+
- Accuracy Unlabeled: nan
|
25 |
+
- Accuracy Traversable: 0.9758
|
26 |
+
- Accuracy Non-traversable: 0.9781
|
27 |
+
- Iou Unlabeled: 0.0
|
28 |
+
- Iou Traversable: 0.9493
|
29 |
+
- Iou Non-traversable: 0.9600
|
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.1595 | 1.33 | 20 | 0.1789 | 0.9314 | 0.9657 | 0.9649 | nan | 0.9727 | 0.9588 | nan | 0.9240 | 0.9388 |
|
61 |
+
| 0.3593 | 2.67 | 40 | 0.1137 | 0.9429 | 0.9731 | 0.9709 | nan | 0.9911 | 0.9551 | nan | 0.9372 | 0.9485 |
|
62 |
+
| 0.1002 | 4.0 | 60 | 0.0979 | 0.9363 | 0.9661 | 0.9677 | nan | 0.9531 | 0.9791 | nan | 0.9282 | 0.9444 |
|
63 |
+
| 0.0348 | 5.33 | 80 | 0.0933 | 0.9442 | 0.9713 | 0.9717 | nan | 0.9675 | 0.9750 | nan | 0.9375 | 0.9509 |
|
64 |
+
| 0.0374 | 6.67 | 100 | 0.0884 | 0.9459 | 0.9714 | 0.9727 | nan | 0.9611 | 0.9817 | nan | 0.9391 | 0.9528 |
|
65 |
+
| 0.0447 | 8.0 | 120 | 0.0886 | 0.9491 | 0.9737 | 0.9743 | nan | 0.9684 | 0.9789 | nan | 0.9430 | 0.9553 |
|
66 |
+
| 0.0464 | 9.33 | 140 | 0.0790 | 0.9564 | 0.9783 | 0.9780 | nan | 0.9804 | 0.9762 | nan | 0.9514 | 0.9614 |
|
67 |
+
| 0.0421 | 10.67 | 160 | 0.0868 | 0.9540 | 0.9764 | 0.9768 | nan | 0.9733 | 0.9796 | nan | 0.9485 | 0.9596 |
|
68 |
+
| 0.0253 | 12.0 | 180 | 0.0887 | 0.9530 | 0.9756 | 0.9763 | nan | 0.9700 | 0.9812 | nan | 0.9472 | 0.9587 |
|
69 |
+
| 0.0364 | 13.33 | 200 | 0.0960 | 0.9494 | 0.9733 | 0.9745 | nan | 0.9638 | 0.9829 | nan | 0.9431 | 0.9558 |
|
70 |
+
| 0.0276 | 14.67 | 220 | 0.0980 | 0.9470 | 0.9717 | 0.9732 | nan | 0.9595 | 0.9840 | nan | 0.9402 | 0.9538 |
|
71 |
+
| 0.0279 | 16.0 | 240 | 0.0914 | 0.9534 | 0.9761 | 0.9765 | nan | 0.9725 | 0.9796 | nan | 0.9478 | 0.9590 |
|
72 |
+
| 0.026 | 17.33 | 260 | 0.0886 | 0.9557 | 0.9778 | 0.9777 | nan | 0.9792 | 0.9764 | nan | 0.9506 | 0.9609 |
|
73 |
+
| 0.0228 | 18.67 | 280 | 0.0888 | 0.9547 | 0.9775 | 0.9771 | nan | 0.9804 | 0.9745 | nan | 0.9495 | 0.9599 |
|
74 |
+
| 0.0259 | 20.0 | 300 | 0.0984 | 0.9505 | 0.9742 | 0.9750 | nan | 0.9679 | 0.9806 | nan | 0.9444 | 0.9565 |
|
75 |
+
| 0.0306 | 21.33 | 320 | 0.0890 | 0.9542 | 0.9763 | 0.9769 | nan | 0.9716 | 0.9811 | nan | 0.9487 | 0.9598 |
|
76 |
+
| 0.0305 | 22.67 | 340 | 0.0967 | 0.6352 | 0.9752 | 0.9762 | nan | 0.9669 | 0.9834 | 0.0 | 0.9468 | 0.9586 |
|
77 |
+
| 0.0219 | 24.0 | 360 | 0.0983 | 0.9538 | 0.9764 | 0.9767 | nan | 0.9735 | 0.9792 | nan | 0.9483 | 0.9593 |
|
78 |
+
| 0.023 | 25.33 | 380 | 0.0940 | 0.6368 | 0.9771 | 0.9774 | nan | 0.9743 | 0.9799 | 0.0 | 0.9499 | 0.9606 |
|
79 |
+
| 0.0217 | 26.67 | 400 | 0.0973 | 0.6360 | 0.9767 | 0.9768 | nan | 0.9758 | 0.9776 | 0.0 | 0.9486 | 0.9595 |
|
80 |
+
| 0.0267 | 28.0 | 420 | 0.1023 | 0.6360 | 0.9770 | 0.9768 | nan | 0.9792 | 0.9749 | 0.0 | 0.9487 | 0.9593 |
|
81 |
+
| 0.0202 | 29.33 | 440 | 0.0955 | 0.6376 | 0.9783 | 0.9780 | nan | 0.9802 | 0.9764 | 0.0 | 0.9514 | 0.9615 |
|
82 |
+
| 0.0225 | 30.67 | 460 | 0.1016 | 0.6360 | 0.9763 | 0.9768 | nan | 0.9727 | 0.9800 | 0.0 | 0.9484 | 0.9595 |
|
83 |
+
| 0.0288 | 32.0 | 480 | 0.1026 | 0.6354 | 0.9756 | 0.9763 | nan | 0.9697 | 0.9815 | 0.0 | 0.9473 | 0.9588 |
|
84 |
+
| 0.0209 | 33.33 | 500 | 0.0977 | 0.6370 | 0.9771 | 0.9776 | nan | 0.9735 | 0.9808 | 0.0 | 0.9502 | 0.9609 |
|
85 |
+
| 0.0202 | 34.67 | 520 | 0.1005 | 0.6367 | 0.9772 | 0.9773 | nan | 0.9762 | 0.9782 | 0.0 | 0.9497 | 0.9604 |
|
86 |
+
| 0.0194 | 36.0 | 540 | 0.1032 | 0.6365 | 0.9771 | 0.9772 | nan | 0.9766 | 0.9776 | 0.0 | 0.9495 | 0.9601 |
|
87 |
+
| 0.0165 | 37.33 | 560 | 0.1013 | 0.6373 | 0.9777 | 0.9778 | nan | 0.9769 | 0.9785 | 0.0 | 0.9508 | 0.9612 |
|
88 |
+
| 0.0226 | 38.67 | 580 | 0.1005 | 0.6367 | 0.9771 | 0.9773 | nan | 0.9752 | 0.9790 | 0.0 | 0.9497 | 0.9604 |
|
89 |
+
| 0.0206 | 40.0 | 600 | 0.1032 | 0.6369 | 0.9773 | 0.9775 | nan | 0.9757 | 0.9789 | 0.0 | 0.9501 | 0.9607 |
|
90 |
+
| 0.016 | 41.33 | 620 | 0.1007 | 0.6373 | 0.9776 | 0.9777 | nan | 0.9761 | 0.9790 | 0.0 | 0.9506 | 0.9611 |
|
91 |
+
| 0.012 | 42.67 | 640 | 0.1048 | 0.6364 | 0.9768 | 0.9771 | nan | 0.9748 | 0.9789 | 0.0 | 0.9493 | 0.9601 |
|
92 |
+
| 0.0261 | 44.0 | 660 | 0.1073 | 0.6364 | 0.9770 | 0.9771 | nan | 0.9760 | 0.9780 | 0.0 | 0.9493 | 0.9600 |
|
93 |
+
| 0.0125 | 45.33 | 680 | 0.1088 | 0.6357 | 0.9761 | 0.9765 | nan | 0.9727 | 0.9795 | 0.0 | 0.9479 | 0.9591 |
|
94 |
+
| 0.0259 | 46.67 | 700 | 0.1073 | 0.6365 | 0.9770 | 0.9772 | nan | 0.9760 | 0.9780 | 0.0 | 0.9494 | 0.9601 |
|
95 |
+
| 0.0173 | 48.0 | 720 | 0.1052 | 0.6366 | 0.9770 | 0.9772 | nan | 0.9755 | 0.9785 | 0.0 | 0.9495 | 0.9602 |
|
96 |
+
| 0.0162 | 49.33 | 740 | 0.1077 | 0.6364 | 0.9770 | 0.9771 | nan | 0.9758 | 0.9781 | 0.0 | 0.9493 | 0.9600 |
|
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-b5",
|
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 |
+
6,
|
12 |
+
40,
|
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": "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:ba6167d84dac25d272fb8e4c336c4fd408137e13ba3291ce57c5f57b883bdaf1
|
3 |
+
size 338796934
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5d0bbed9fa070ac28059404c943ec1545b6e4ef01a64f181810bf30862ebb619
|
3 |
+
size 4536
|