MariaK commited on
Commit
ebf1956
1 Parent(s): e262448

Training in progress epoch 0

Browse files
Files changed (4) hide show
  1. README.md +126 -0
  2. config.json +144 -0
  3. preprocessor_config.json +24 -0
  4. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ tags:
4
+ - generated_from_keras_callback
5
+ model-index:
6
+ - name: MariaK/mit-b0-finetuned-sidewalks
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
11
+ probably proofread and complete it, then remove this comment. -->
12
+
13
+ # MariaK/mit-b0-finetuned-sidewalks
14
+
15
+ This model is a fine-tuned version of [nvidia/mit-b0](https://huggingface.co/nvidia/mit-b0) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Train Loss: 1.4362
18
+ - Validation Loss: 0.9804
19
+ - Validation Mean Iou: 0.1752
20
+ - Validation Mean Accuracy: 0.2219
21
+ - Validation Overall Accuracy: 0.7360
22
+ - Validation Accuracy Unlabeled: 0.0
23
+ - Validation Accuracy Flat-road: 0.7417
24
+ - Validation Accuracy Flat-sidewalk: 0.9512
25
+ - Validation Accuracy Flat-crosswalk: 0.0213
26
+ - Validation Accuracy Flat-cyclinglane: 0.3662
27
+ - Validation Accuracy Flat-parkingdriveway: 0.1475
28
+ - Validation Accuracy Flat-railtrack: nan
29
+ - Validation Accuracy Flat-curb: 0.1397
30
+ - Validation Accuracy Human-person: 0.0055
31
+ - Validation Accuracy Human-rider: 0.0
32
+ - Validation Accuracy Vehicle-car: 0.8653
33
+ - Validation Accuracy Vehicle-truck: 0.0
34
+ - Validation Accuracy Vehicle-bus: 0.0
35
+ - Validation Accuracy Vehicle-tramtrain: nan
36
+ - Validation Accuracy Vehicle-motorcycle: 0.0
37
+ - Validation Accuracy Vehicle-bicycle: 0.0002
38
+ - Validation Accuracy Vehicle-caravan: 0.0
39
+ - Validation Accuracy Vehicle-cartrailer: 0.0
40
+ - Validation Accuracy Construction-building: 0.7778
41
+ - Validation Accuracy Construction-door: 0.0
42
+ - Validation Accuracy Construction-wall: 0.3370
43
+ - Validation Accuracy Construction-fenceguardrail: 0.0429
44
+ - Validation Accuracy Construction-bridge: 0.0
45
+ - Validation Accuracy Construction-tunnel: nan
46
+ - Validation Accuracy Construction-stairs: 0.0
47
+ - Validation Accuracy Object-pole: 0.0177
48
+ - Validation Accuracy Object-trafficsign: 0.0
49
+ - Validation Accuracy Object-trafficlight: 0.0
50
+ - Validation Accuracy Nature-vegetation: 0.9324
51
+ - Validation Accuracy Nature-terrain: 0.7967
52
+ - Validation Accuracy Sky: 0.9157
53
+ - Validation Accuracy Void-ground: 0.0
54
+ - Validation Accuracy Void-dynamic: 0.0
55
+ - Validation Accuracy Void-static: 0.0409
56
+ - Validation Accuracy Void-unclear: 0.0
57
+ - Validation Iou Unlabeled: 0.0
58
+ - Validation Iou Flat-road: 0.5263
59
+ - Validation Iou Flat-sidewalk: 0.7377
60
+ - Validation Iou Flat-crosswalk: 0.0213
61
+ - Validation Iou Flat-cyclinglane: 0.3517
62
+ - Validation Iou Flat-parkingdriveway: 0.1232
63
+ - Validation Iou Flat-railtrack: nan
64
+ - Validation Iou Flat-curb: 0.1053
65
+ - Validation Iou Human-person: 0.0055
66
+ - Validation Iou Human-rider: 0.0
67
+ - Validation Iou Vehicle-car: 0.6423
68
+ - Validation Iou Vehicle-truck: 0.0
69
+ - Validation Iou Vehicle-bus: 0.0
70
+ - Validation Iou Vehicle-tramtrain: nan
71
+ - Validation Iou Vehicle-motorcycle: 0.0
72
+ - Validation Iou Vehicle-bicycle: 0.0002
73
+ - Validation Iou Vehicle-caravan: 0.0
74
+ - Validation Iou Vehicle-cartrailer: 0.0
75
+ - Validation Iou Construction-building: 0.6012
76
+ - Validation Iou Construction-door: 0.0
77
+ - Validation Iou Construction-wall: 0.2315
78
+ - Validation Iou Construction-fenceguardrail: 0.0424
79
+ - Validation Iou Construction-bridge: 0.0
80
+ - Validation Iou Construction-tunnel: nan
81
+ - Validation Iou Construction-stairs: 0.0
82
+ - Validation Iou Object-pole: 0.0163
83
+ - Validation Iou Object-trafficsign: 0.0
84
+ - Validation Iou Object-trafficlight: 0.0
85
+ - Validation Iou Nature-vegetation: 0.7258
86
+ - Validation Iou Nature-terrain: 0.6752
87
+ - Validation Iou Sky: 0.7692
88
+ - Validation Iou Void-ground: 0.0
89
+ - Validation Iou Void-dynamic: 0.0
90
+ - Validation Iou Void-static: 0.0321
91
+ - Validation Iou Void-unclear: 0.0
92
+ - Epoch: 0
93
+
94
+ ## Model description
95
+
96
+ More information needed
97
+
98
+ ## Intended uses & limitations
99
+
100
+ More information needed
101
+
102
+ ## Training and evaluation data
103
+
104
+ More information needed
105
+
106
+ ## Training procedure
107
+
108
+ ### Training hyperparameters
109
+
110
+ The following hyperparameters were used during training:
111
+ - optimizer: {'name': 'Adam', 'learning_rate': 6e-05, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
112
+ - training_precision: float32
113
+
114
+ ### Training results
115
+
116
+ | Train Loss | Validation Loss | Validation Mean Iou | Validation Mean Accuracy | Validation Overall Accuracy | Validation Accuracy Unlabeled | Validation Accuracy Flat-road | Validation Accuracy Flat-sidewalk | Validation Accuracy Flat-crosswalk | Validation Accuracy Flat-cyclinglane | Validation Accuracy Flat-parkingdriveway | Validation Accuracy Flat-railtrack | Validation Accuracy Flat-curb | Validation Accuracy Human-person | Validation Accuracy Human-rider | Validation Accuracy Vehicle-car | Validation Accuracy Vehicle-truck | Validation Accuracy Vehicle-bus | Validation Accuracy Vehicle-tramtrain | Validation Accuracy Vehicle-motorcycle | Validation Accuracy Vehicle-bicycle | Validation Accuracy Vehicle-caravan | Validation Accuracy Vehicle-cartrailer | Validation Accuracy Construction-building | Validation Accuracy Construction-door | Validation Accuracy Construction-wall | Validation Accuracy Construction-fenceguardrail | Validation Accuracy Construction-bridge | Validation Accuracy Construction-tunnel | Validation Accuracy Construction-stairs | Validation Accuracy Object-pole | Validation Accuracy Object-trafficsign | Validation Accuracy Object-trafficlight | Validation Accuracy Nature-vegetation | Validation Accuracy Nature-terrain | Validation Accuracy Sky | Validation Accuracy Void-ground | Validation Accuracy Void-dynamic | Validation Accuracy Void-static | Validation Accuracy Void-unclear | Validation Iou Unlabeled | Validation Iou Flat-road | Validation Iou Flat-sidewalk | Validation Iou Flat-crosswalk | Validation Iou Flat-cyclinglane | Validation Iou Flat-parkingdriveway | Validation Iou Flat-railtrack | Validation Iou Flat-curb | Validation Iou Human-person | Validation Iou Human-rider | Validation Iou Vehicle-car | Validation Iou Vehicle-truck | Validation Iou Vehicle-bus | Validation Iou Vehicle-tramtrain | Validation Iou Vehicle-motorcycle | Validation Iou Vehicle-bicycle | Validation Iou Vehicle-caravan | Validation Iou Vehicle-cartrailer | Validation Iou Construction-building | Validation Iou Construction-door | Validation Iou Construction-wall | Validation Iou Construction-fenceguardrail | Validation Iou Construction-bridge | Validation Iou Construction-tunnel | Validation Iou Construction-stairs | Validation Iou Object-pole | Validation Iou Object-trafficsign | Validation Iou Object-trafficlight | Validation Iou Nature-vegetation | Validation Iou Nature-terrain | Validation Iou Sky | Validation Iou Void-ground | Validation Iou Void-dynamic | Validation Iou Void-static | Validation Iou Void-unclear | Epoch |
117
+ |:----------:|:---------------:|:-------------------:|:------------------------:|:---------------------------:|:-----------------------------:|:-----------------------------:|:---------------------------------:|:----------------------------------:|:------------------------------------:|:----------------------------------------:|:----------------------------------:|:-----------------------------:|:--------------------------------:|:-------------------------------:|:-------------------------------:|:---------------------------------:|:-------------------------------:|:-------------------------------------:|:--------------------------------------:|:-----------------------------------:|:-----------------------------------:|:--------------------------------------:|:-----------------------------------------:|:-------------------------------------:|:-------------------------------------:|:-----------------------------------------------:|:---------------------------------------:|:---------------------------------------:|:---------------------------------------:|:-------------------------------:|:--------------------------------------:|:---------------------------------------:|:-------------------------------------:|:----------------------------------:|:-----------------------:|:-------------------------------:|:--------------------------------:|:-------------------------------:|:--------------------------------:|:------------------------:|:------------------------:|:----------------------------:|:-----------------------------:|:-------------------------------:|:-----------------------------------:|:-----------------------------:|:------------------------:|:---------------------------:|:--------------------------:|:--------------------------:|:----------------------------:|:--------------------------:|:--------------------------------:|:---------------------------------:|:------------------------------:|:------------------------------:|:---------------------------------:|:------------------------------------:|:--------------------------------:|:--------------------------------:|:------------------------------------------:|:----------------------------------:|:----------------------------------:|:----------------------------------:|:--------------------------:|:---------------------------------:|:----------------------------------:|:--------------------------------:|:-----------------------------:|:------------------:|:--------------------------:|:---------------------------:|:--------------------------:|:---------------------------:|:-----:|
118
+ | 1.4362 | 0.9804 | 0.1752 | 0.2219 | 0.7360 | 0.0 | 0.7417 | 0.9512 | 0.0213 | 0.3662 | 0.1475 | nan | 0.1397 | 0.0055 | 0.0 | 0.8653 | 0.0 | 0.0 | nan | 0.0 | 0.0002 | 0.0 | 0.0 | 0.7778 | 0.0 | 0.3370 | 0.0429 | 0.0 | nan | 0.0 | 0.0177 | 0.0 | 0.0 | 0.9324 | 0.7967 | 0.9157 | 0.0 | 0.0 | 0.0409 | 0.0 | 0.0 | 0.5263 | 0.7377 | 0.0213 | 0.3517 | 0.1232 | nan | 0.1053 | 0.0055 | 0.0 | 0.6423 | 0.0 | 0.0 | nan | 0.0 | 0.0002 | 0.0 | 0.0 | 0.6012 | 0.0 | 0.2315 | 0.0424 | 0.0 | nan | 0.0 | 0.0163 | 0.0 | 0.0 | 0.7258 | 0.6752 | 0.7692 | 0.0 | 0.0 | 0.0321 | 0.0 | 0 |
119
+
120
+
121
+ ### Framework versions
122
+
123
+ - Transformers 4.25.1
124
+ - TensorFlow 2.9.2
125
+ - Datasets 2.8.0
126
+ - Tokenizers 0.13.2
config.json ADDED
@@ -0,0 +1,144 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "flat-road",
33
+ "2": "flat-sidewalk",
34
+ "3": "flat-crosswalk",
35
+ "4": "flat-cyclinglane",
36
+ "5": "flat-parkingdriveway",
37
+ "6": "flat-railtrack",
38
+ "7": "flat-curb",
39
+ "8": "human-person",
40
+ "9": "human-rider",
41
+ "10": "vehicle-car",
42
+ "11": "vehicle-truck",
43
+ "12": "vehicle-bus",
44
+ "13": "vehicle-tramtrain",
45
+ "14": "vehicle-motorcycle",
46
+ "15": "vehicle-bicycle",
47
+ "16": "vehicle-caravan",
48
+ "17": "vehicle-cartrailer",
49
+ "18": "construction-building",
50
+ "19": "construction-door",
51
+ "20": "construction-wall",
52
+ "21": "construction-fenceguardrail",
53
+ "22": "construction-bridge",
54
+ "23": "construction-tunnel",
55
+ "24": "construction-stairs",
56
+ "25": "object-pole",
57
+ "26": "object-trafficsign",
58
+ "27": "object-trafficlight",
59
+ "28": "nature-vegetation",
60
+ "29": "nature-terrain",
61
+ "30": "sky",
62
+ "31": "void-ground",
63
+ "32": "void-dynamic",
64
+ "33": "void-static",
65
+ "34": "void-unclear"
66
+ },
67
+ "image_size": 224,
68
+ "initializer_range": 0.02,
69
+ "label2id": {
70
+ "construction-bridge": 22,
71
+ "construction-building": 18,
72
+ "construction-door": 19,
73
+ "construction-fenceguardrail": 21,
74
+ "construction-stairs": 24,
75
+ "construction-tunnel": 23,
76
+ "construction-wall": 20,
77
+ "flat-crosswalk": 3,
78
+ "flat-curb": 7,
79
+ "flat-cyclinglane": 4,
80
+ "flat-parkingdriveway": 5,
81
+ "flat-railtrack": 6,
82
+ "flat-road": 1,
83
+ "flat-sidewalk": 2,
84
+ "human-person": 8,
85
+ "human-rider": 9,
86
+ "nature-terrain": 29,
87
+ "nature-vegetation": 28,
88
+ "object-pole": 25,
89
+ "object-trafficlight": 27,
90
+ "object-trafficsign": 26,
91
+ "sky": 30,
92
+ "unlabeled": 0,
93
+ "vehicle-bicycle": 15,
94
+ "vehicle-bus": 12,
95
+ "vehicle-car": 10,
96
+ "vehicle-caravan": 16,
97
+ "vehicle-cartrailer": 17,
98
+ "vehicle-motorcycle": 14,
99
+ "vehicle-tramtrain": 13,
100
+ "vehicle-truck": 11,
101
+ "void-dynamic": 32,
102
+ "void-ground": 31,
103
+ "void-static": 33,
104
+ "void-unclear": 34
105
+ },
106
+ "layer_norm_eps": 1e-06,
107
+ "mlp_ratios": [
108
+ 4,
109
+ 4,
110
+ 4,
111
+ 4
112
+ ],
113
+ "model_type": "segformer",
114
+ "num_attention_heads": [
115
+ 1,
116
+ 2,
117
+ 5,
118
+ 8
119
+ ],
120
+ "num_channels": 3,
121
+ "num_encoder_blocks": 4,
122
+ "patch_sizes": [
123
+ 7,
124
+ 3,
125
+ 3,
126
+ 3
127
+ ],
128
+ "reshape_last_stage": true,
129
+ "semantic_loss_ignore_index": 255,
130
+ "sr_ratios": [
131
+ 8,
132
+ 4,
133
+ 2,
134
+ 1
135
+ ],
136
+ "strides": [
137
+ 4,
138
+ 2,
139
+ 2,
140
+ 2
141
+ ],
142
+ "torch_dtype": "float32",
143
+ "transformers_version": "4.25.1"
144
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_reduce_labels": false,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "feature_extractor_type": "SegformerFeatureExtractor",
7
+ "image_mean": [
8
+ 0.485,
9
+ 0.456,
10
+ 0.406
11
+ ],
12
+ "image_processor_type": "SegformerImageProcessor",
13
+ "image_std": [
14
+ 0.229,
15
+ 0.224,
16
+ 0.225
17
+ ],
18
+ "resample": 2,
19
+ "rescale_factor": 0.00392156862745098,
20
+ "size": {
21
+ "height": 512,
22
+ "width": 512
23
+ }
24
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2bdf624fd0787762fbf84d767d93e4281b4bfb5b86339ddeddcabb3e6a57ff6f
3
+ size 15167588