johanhag commited on
Commit
7efb69d
·
1 Parent(s): 0eaae21

End of training

Browse files
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-winter
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-winter
17
+
18
+ This model is a fine-tuned version of [nvidia/mit-b0](https://huggingface.co/nvidia/mit-b0) on the johanhag/winter-test dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.6686
21
+ - Mean Iou: 0.5315
22
+ - Mean Accuracy: 0.7459
23
+ - Overall Accuracy: 0.9352
24
+ - Accuracy Unlabeled: 0.0
25
+ - Accuracy Object: nan
26
+ - Accuracy Road: 0.9639
27
+ - Accuracy Side walk: 0.8594
28
+ - Accuracy Car: 0.9680
29
+ - Accuracy Pedestrian: nan
30
+ - Accuracy Other: 0.9381
31
+ - Iou Unlabeled: 0.0
32
+ - Iou Object: nan
33
+ - Iou Road: 0.8582
34
+ - Iou Side walk: 0.7325
35
+ - Iou Car: 0.6625
36
+ - Iou Pedestrian: 0.0
37
+ - Iou Other: 0.9360
38
+
39
+ ## Model description
40
+
41
+ More information needed
42
+
43
+ ## Intended uses & limitations
44
+
45
+ More information needed
46
+
47
+ ## Training and evaluation data
48
+
49
+ More information needed
50
+
51
+ ## Training procedure
52
+
53
+ ### Training hyperparameters
54
+
55
+ The following hyperparameters were used during training:
56
+ - learning_rate: 6e-05
57
+ - train_batch_size: 2
58
+ - eval_batch_size: 2
59
+ - seed: 42
60
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
61
+ - lr_scheduler_type: linear
62
+ - num_epochs: 10
63
+
64
+ ### Training results
65
+
66
+ | Training Loss | Epoch | Step | Validation Loss | Mean Iou | Mean Accuracy | Overall Accuracy | Accuracy Unlabeled | Accuracy Object | Accuracy Road | Accuracy Side walk | Accuracy Car | Accuracy Pedestrian | Accuracy Other | Iou Unlabeled | Iou Object | Iou Road | Iou Side walk | Iou Car | Iou Pedestrian | Iou Other |
67
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:-------------:|:----------------:|:------------------:|:---------------:|:-------------:|:------------------:|:------------:|:-------------------:|:--------------:|:-------------:|:----------:|:--------:|:-------------:|:-------:|:--------------:|:---------:|
68
+ | 0.8742 | 4.0 | 20 | 0.7473 | 0.5041 | 0.7285 | 0.9203 | 0.0 | nan | 0.9534 | 0.7751 | 0.9811 | nan | 0.9332 | 0.0 | nan | 0.8077 | 0.6691 | 0.6166 | 0.0 | 0.9315 |
69
+ | 0.6909 | 8.0 | 40 | 0.6686 | 0.5315 | 0.7459 | 0.9352 | 0.0 | nan | 0.9639 | 0.8594 | 0.9680 | nan | 0.9381 | 0.0 | nan | 0.8582 | 0.7325 | 0.6625 | 0.0 | 0.9360 |
70
+
71
+
72
+ ### Framework versions
73
+
74
+ - Transformers 4.35.2
75
+ - Pytorch 2.1.0+cu121
76
+ - Datasets 2.15.0
77
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "nvidia/mit-b0",
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
+ 32,
26
+ 64,
27
+ 160,
28
+ 256
29
+ ],
30
+ "id2label": {
31
+ "0": "unlabeled",
32
+ "1": "object",
33
+ "2": "road",
34
+ "3": "side walk",
35
+ "4": "car",
36
+ "5": "pedestrian",
37
+ "6": "other"
38
+ },
39
+ "image_size": 224,
40
+ "initializer_range": 0.02,
41
+ "label2id": {
42
+ "car": 4,
43
+ "object": 1,
44
+ "other": 6,
45
+ "pedestrian": 5,
46
+ "road": 2,
47
+ "side walk": 3,
48
+ "unlabeled": 0
49
+ },
50
+ "layer_norm_eps": 1e-06,
51
+ "mlp_ratios": [
52
+ 4,
53
+ 4,
54
+ 4,
55
+ 4
56
+ ],
57
+ "model_type": "segformer",
58
+ "num_attention_heads": [
59
+ 1,
60
+ 2,
61
+ 5,
62
+ 8
63
+ ],
64
+ "num_channels": 3,
65
+ "num_encoder_blocks": 4,
66
+ "patch_sizes": [
67
+ 7,
68
+ 3,
69
+ 3,
70
+ 3
71
+ ],
72
+ "reshape_last_stage": true,
73
+ "semantic_loss_ignore_index": 255,
74
+ "sr_ratios": [
75
+ 8,
76
+ 4,
77
+ 2,
78
+ 1
79
+ ],
80
+ "strides": [
81
+ 4,
82
+ 2,
83
+ 2,
84
+ 2
85
+ ],
86
+ "torch_dtype": "float32",
87
+ "transformers_version": "4.35.2"
88
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb9d2a673c0c42184c1e1a3d6967d0f1eafce421768f66212c7d183fd210ce66
3
+ size 14889924
runs/Dec14_23-32-12_285780465a18/events.out.tfevents.1702596737.285780465a18.1092.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c1b4df71025dc8facea92640eff2714dc7094d1aae7df0fac5336c816475ad1
3
+ size 15462
runs/Dec14_23-34-49_285780465a18/events.out.tfevents.1702596919.285780465a18.1092.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:800601737025298c17948a50f565c431623b5d107f9a979b58c8df1fde4288db
3
+ size 15434
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09ff86894c2952120b34dfea0267315bb49647a42c901bf1cbf5e547999b3ee1
3
+ size 4664