sayakpaul HF staff commited on
Commit
8042bb9
·
1 Parent(s): 463f61a

Training in progress epoch 0

Browse files
README.md ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ tags:
4
+ - generated_from_keras_callback
5
+ model-index:
6
+ - name: sayakpaul/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
+ # sayakpaul/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.5309
18
+ - Validation Loss: 0.9380
19
+ - Validation Mean Iou: 0.1674
20
+ - Validation Mean Accuracy: 0.2153
21
+ - Validation Overall Accuracy: 0.7545
22
+ - Validation Per Category Iou: [0.00000000e+00 5.50637719e-01 7.61499932e-01 6.48396077e-04
23
+ 3.56923200e-01 9.75833116e-02 0.00000000e+00 2.82588573e-02
24
+ 5.28802378e-02 0.00000000e+00 5.93637894e-01 0.00000000e+00
25
+ 0.00000000e+00 nan 0.00000000e+00 0.00000000e+00
26
+ 0.00000000e+00 0.00000000e+00 5.53393589e-01 0.00000000e+00
27
+ 1.50378244e-01 1.75413833e-02 0.00000000e+00 nan
28
+ 0.00000000e+00 2.76097981e-02 0.00000000e+00 0.00000000e+00
29
+ 7.86211179e-01 7.05492777e-01 8.34315629e-01 0.00000000e+00
30
+ 0.00000000e+00 7.43899822e-03 0.00000000e+00]
31
+ - Validation Per Category Accuracy: [0.00000000e+00 7.08723416e-01 9.71019213e-01 6.48665345e-04
32
+ 4.09438347e-01 1.09468057e-01 nan 3.05932982e-02
33
+ 5.44133505e-02 0.00000000e+00 8.74063503e-01 0.00000000e+00
34
+ 0.00000000e+00 nan 0.00000000e+00 0.00000000e+00
35
+ 0.00000000e+00 0.00000000e+00 8.66648886e-01 0.00000000e+00
36
+ 1.61194155e-01 1.77691783e-02 0.00000000e+00 nan
37
+ 0.00000000e+00 2.81195635e-02 0.00000000e+00 0.00000000e+00
38
+ 9.17500033e-01 8.30294930e-01 9.02491399e-01 0.00000000e+00
39
+ 0.00000000e+00 7.77243386e-03 0.00000000e+00]
40
+ - Epoch: 0
41
+
42
+ ## Model description
43
+
44
+ More information needed
45
+
46
+ ## Intended uses & limitations
47
+
48
+ More information needed
49
+
50
+ ## Training and evaluation data
51
+
52
+ More information needed
53
+
54
+ ## Training procedure
55
+
56
+ ### Training hyperparameters
57
+
58
+ The following hyperparameters were used during training:
59
+ - optimizer: {'name': 'Adam', 'learning_rate': 6e-05, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
60
+ - training_precision: float32
61
+
62
+ ### Training results
63
+
64
+ | Train Loss | Validation Loss | Validation Mean Iou | Validation Mean Accuracy | Validation Overall Accuracy | Validation Per Category Iou | Validation Per Category Accuracy | Epoch |
65
+ |:----------:|:---------------:|:-------------------:|:------------------------:|:---------------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-----:|
66
+ | 1.5309 | 0.9380 | 0.1674 | 0.2153 | 0.7545 | [0.00000000e+00 5.50637719e-01 7.61499932e-01 6.48396077e-04
67
+ 3.56923200e-01 9.75833116e-02 0.00000000e+00 2.82588573e-02
68
+ 5.28802378e-02 0.00000000e+00 5.93637894e-01 0.00000000e+00
69
+ 0.00000000e+00 nan 0.00000000e+00 0.00000000e+00
70
+ 0.00000000e+00 0.00000000e+00 5.53393589e-01 0.00000000e+00
71
+ 1.50378244e-01 1.75413833e-02 0.00000000e+00 nan
72
+ 0.00000000e+00 2.76097981e-02 0.00000000e+00 0.00000000e+00
73
+ 7.86211179e-01 7.05492777e-01 8.34315629e-01 0.00000000e+00
74
+ 0.00000000e+00 7.43899822e-03 0.00000000e+00] | [0.00000000e+00 7.08723416e-01 9.71019213e-01 6.48665345e-04
75
+ 4.09438347e-01 1.09468057e-01 nan 3.05932982e-02
76
+ 5.44133505e-02 0.00000000e+00 8.74063503e-01 0.00000000e+00
77
+ 0.00000000e+00 nan 0.00000000e+00 0.00000000e+00
78
+ 0.00000000e+00 0.00000000e+00 8.66648886e-01 0.00000000e+00
79
+ 1.61194155e-01 1.77691783e-02 0.00000000e+00 nan
80
+ 0.00000000e+00 2.81195635e-02 0.00000000e+00 0.00000000e+00
81
+ 9.17500033e-01 8.30294930e-01 9.02491399e-01 0.00000000e+00
82
+ 0.00000000e+00 7.77243386e-03 0.00000000e+00] | 0 |
83
+
84
+
85
+ ### Framework versions
86
+
87
+ - Transformers 4.24.0
88
+ - TensorFlow 2.9.2
89
+ - Datasets 2.6.1
90
+ - Tokenizers 0.13.1
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.24.0"
144
+ }
logs/train/events.out.tfevents.1667450776.752912418db9.104.0.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18e6788fc82f73fd79fed2c8a319d8c4a4cc98a9096eba3ad7ce10c81765cdf5
3
+ size 3063171
logs/validation/events.out.tfevents.1667450948.752912418db9.104.1.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98135df5e8643366c592972df800f4fc846fc64945d5d729122d5cb4e1cbff1e
3
+ size 417
preprocessor_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_resize": true,
4
+ "feature_extractor_type": "SegformerFeatureExtractor",
5
+ "image_mean": [
6
+ 0.485,
7
+ 0.456,
8
+ 0.406
9
+ ],
10
+ "image_std": [
11
+ 0.229,
12
+ 0.224,
13
+ 0.225
14
+ ],
15
+ "reduce_labels": false,
16
+ "resample": 2,
17
+ "size": 512
18
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e6aa89dd660c8d75954db782313f985da41c8387e545b725b1e83c6616d1d6f
3
+ size 15167588