selvaa commited on
Commit
24813eb
·
verified ·
1 Parent(s): 9f30317

End of training

Browse files
README.md ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ base_model: nvidia/segformer-b1-finetuned-cityscapes-1024-1024
4
+ tags:
5
+ - vision
6
+ - image-segmentation
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: segformer-b1-finetuned-cityscapes-1024-1024-straighter-only
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-cityscapes-1024-1024-straighter-only
17
+
18
+ This model is a fine-tuned version of [nvidia/segformer-b1-finetuned-cityscapes-1024-1024](https://huggingface.co/nvidia/segformer-b1-finetuned-cityscapes-1024-1024) on the selvaa/straighter-only-final dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.0331
21
+ - Mean Iou: 0.9378
22
+ - Mean Accuracy: 0.9644
23
+ - Overall Accuracy: 0.9883
24
+ - Accuracy Default: 1e-06
25
+ - Accuracy Pipe: 0.9182
26
+ - Accuracy Floor: 0.9790
27
+ - Accuracy Background: 0.9961
28
+ - Iou Default: 1e-06
29
+ - Iou Pipe: 0.8600
30
+ - Iou Floor: 0.9637
31
+ - Iou Background: 0.9896
32
+
33
+ ## Model description
34
+
35
+ More information needed
36
+
37
+ ## Intended uses & limitations
38
+
39
+ More information needed
40
+
41
+ ## Training and evaluation data
42
+
43
+ More information needed
44
+
45
+ ## Training procedure
46
+
47
+ ### Training hyperparameters
48
+
49
+ The following hyperparameters were used during training:
50
+ - learning_rate: 0.0002
51
+ - train_batch_size: 3
52
+ - eval_batch_size: 3
53
+ - seed: 42
54
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
55
+ - lr_scheduler_type: linear
56
+ - num_epochs: 60
57
+ - mixed_precision_training: Native AMP
58
+
59
+ ### Training results
60
+
61
+ | Training Loss | Epoch | Step | Validation Loss | Mean Iou | Mean Accuracy | Overall Accuracy | Accuracy Default | Accuracy Pipe | Accuracy Floor | Accuracy Background | Iou Default | Iou Pipe | Iou Floor | Iou Background |
62
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:-------------:|:----------------:|:----------------:|:-------------:|:--------------:|:-------------------:|:-----------:|:--------:|:---------:|:--------------:|
63
+ | 0.5349 | 1.0 | 36 | 0.1593 | 0.8143 | 0.8613 | 0.9661 | 1e-06 | 0.6324 | 0.9614 | 0.9903 | 1e-06 | 0.5490 | 0.9277 | 0.9660 |
64
+ | 0.1472 | 2.0 | 72 | 0.0977 | 0.8792 | 0.9255 | 0.9782 | 1e-06 | 0.8153 | 0.9690 | 0.9922 | 1e-06 | 0.7119 | 0.9456 | 0.9800 |
65
+ | 0.0902 | 3.0 | 108 | 0.0708 | 0.9014 | 0.9285 | 0.9820 | 1e-06 | 0.8194 | 0.9690 | 0.9972 | 1e-06 | 0.7669 | 0.9558 | 0.9815 |
66
+ | 0.0662 | 4.0 | 144 | 0.0586 | 0.9146 | 0.9552 | 0.9842 | 1e-06 | 0.9036 | 0.9666 | 0.9954 | 1e-06 | 0.8015 | 0.9567 | 0.9856 |
67
+ | 0.0543 | 5.0 | 180 | 0.0490 | 0.9225 | 0.9514 | 0.9856 | 1e-06 | 0.8844 | 0.9734 | 0.9964 | 1e-06 | 0.8208 | 0.9606 | 0.9860 |
68
+ | 0.0486 | 6.0 | 216 | 0.0445 | 0.9252 | 0.9640 | 0.9862 | 1e-06 | 0.9244 | 0.9729 | 0.9947 | 1e-06 | 0.8265 | 0.9616 | 0.9875 |
69
+ | 0.042 | 7.0 | 252 | 0.0414 | 0.9279 | 0.9658 | 0.9867 | 1e-06 | 0.9315 | 0.9699 | 0.9959 | 1e-06 | 0.8332 | 0.9626 | 0.9880 |
70
+ | 0.0389 | 8.0 | 288 | 0.0381 | 0.9322 | 0.9695 | 0.9874 | 1e-06 | 0.9413 | 0.9716 | 0.9956 | 1e-06 | 0.8448 | 0.9632 | 0.9888 |
71
+ | 0.0359 | 9.0 | 324 | 0.0386 | 0.9319 | 0.9629 | 0.9871 | 1e-06 | 0.9215 | 0.9702 | 0.9970 | 1e-06 | 0.8451 | 0.9630 | 0.9877 |
72
+ | 0.034 | 10.0 | 360 | 0.0374 | 0.9313 | 0.9632 | 0.9873 | 1e-06 | 0.9202 | 0.9730 | 0.9965 | 1e-06 | 0.8422 | 0.9634 | 0.9883 |
73
+ | 0.0322 | 11.0 | 396 | 0.0383 | 0.9300 | 0.9570 | 0.9871 | 1e-06 | 0.8993 | 0.9746 | 0.9971 | 1e-06 | 0.8379 | 0.9642 | 0.9878 |
74
+ | 0.0306 | 12.0 | 432 | 0.0353 | 0.9340 | 0.9678 | 0.9876 | 1e-06 | 0.9358 | 0.9710 | 0.9965 | 1e-06 | 0.8494 | 0.9637 | 0.9888 |
75
+ | 0.0292 | 13.0 | 468 | 0.0337 | 0.9355 | 0.9734 | 0.9881 | 1e-06 | 0.9527 | 0.9719 | 0.9957 | 1e-06 | 0.8529 | 0.9637 | 0.9898 |
76
+ | 0.0286 | 14.0 | 504 | 0.0334 | 0.9355 | 0.9686 | 0.9881 | 1e-06 | 0.9352 | 0.9745 | 0.9960 | 1e-06 | 0.8530 | 0.9641 | 0.9895 |
77
+ | 0.0271 | 15.0 | 540 | 0.0325 | 0.9389 | 0.9682 | 0.9885 | 1e-06 | 0.9325 | 0.9758 | 0.9964 | 1e-06 | 0.8624 | 0.9648 | 0.9897 |
78
+ | 0.0266 | 16.0 | 576 | 0.0327 | 0.9373 | 0.9696 | 0.9883 | 1e-06 | 0.9378 | 0.9748 | 0.9961 | 1e-06 | 0.8576 | 0.9646 | 0.9897 |
79
+ | 0.0257 | 17.0 | 612 | 0.0350 | 0.9330 | 0.9673 | 0.9877 | 1e-06 | 0.9302 | 0.9766 | 0.9952 | 1e-06 | 0.8463 | 0.9636 | 0.9892 |
80
+ | 0.0246 | 18.0 | 648 | 0.0333 | 0.9354 | 0.9665 | 0.9881 | 1e-06 | 0.9269 | 0.9764 | 0.9961 | 1e-06 | 0.8522 | 0.9644 | 0.9896 |
81
+ | 0.0242 | 19.0 | 684 | 0.0326 | 0.9378 | 0.9681 | 0.9884 | 1e-06 | 0.9311 | 0.9772 | 0.9959 | 1e-06 | 0.8588 | 0.9648 | 0.9896 |
82
+ | 0.0231 | 20.0 | 720 | 0.0339 | 0.9366 | 0.9665 | 0.9883 | 1e-06 | 0.9256 | 0.9781 | 0.9958 | 1e-06 | 0.8557 | 0.9646 | 0.9896 |
83
+ | 0.0236 | 21.0 | 756 | 0.0333 | 0.9365 | 0.9702 | 0.9883 | 1e-06 | 0.9375 | 0.9779 | 0.9951 | 1e-06 | 0.8552 | 0.9644 | 0.9900 |
84
+ | 0.0227 | 22.0 | 792 | 0.0327 | 0.9375 | 0.9690 | 0.9885 | 1e-06 | 0.9339 | 0.9773 | 0.9958 | 1e-06 | 0.8577 | 0.9649 | 0.9900 |
85
+ | 0.0226 | 23.0 | 828 | 0.0331 | 0.9378 | 0.9644 | 0.9883 | 1e-06 | 0.9182 | 0.9790 | 0.9961 | 1e-06 | 0.8600 | 0.9637 | 0.9896 |
86
+
87
+
88
+ ### Framework versions
89
+
90
+ - Transformers 4.35.2
91
+ - Pytorch 2.0.1
92
+ - Datasets 2.15.0
93
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "nvidia/segformer-b1-finetuned-cityscapes-1024-1024",
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": "default",
32
+ "1": "pipe",
33
+ "2": "floor",
34
+ "3": "background"
35
+ },
36
+ "image_size": 224,
37
+ "initializer_range": 0.02,
38
+ "label2id": {
39
+ "background": 3,
40
+ "default": 0,
41
+ "floor": 2,
42
+ "pipe": 1
43
+ },
44
+ "layer_norm_eps": 1e-06,
45
+ "mlp_ratios": [
46
+ 4,
47
+ 4,
48
+ 4,
49
+ 4
50
+ ],
51
+ "model_type": "segformer",
52
+ "num_attention_heads": [
53
+ 1,
54
+ 2,
55
+ 5,
56
+ 8
57
+ ],
58
+ "num_channels": 3,
59
+ "num_encoder_blocks": 4,
60
+ "patch_sizes": [
61
+ 7,
62
+ 3,
63
+ 3,
64
+ 3
65
+ ],
66
+ "reshape_last_stage": true,
67
+ "semantic_loss_ignore_index": 255,
68
+ "sr_ratios": [
69
+ 8,
70
+ 4,
71
+ 2,
72
+ 1
73
+ ],
74
+ "strides": [
75
+ 4,
76
+ 2,
77
+ 2,
78
+ 2
79
+ ],
80
+ "torch_dtype": "float32",
81
+ "transformers_version": "4.35.2"
82
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5cb8c22a01ca8010ee36ec7d6b4a2f3d2d3860b7ea4e55a78826856cfb9a75f
3
+ size 54739432
runs/Apr26_14-10-06_antd/events.out.tfevents.1714133419.antd.9499.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38bf1f53e52a08b23ecff3263b10fd9fa55c7c4c7e7f8be33875d182ec4f33a8
3
+ size 29489
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ce4f4f42db680c7b393f24056dd3de8ada805013a3acb460428d561955f8738
3
+ size 4347