Training in progress epoch 0
Browse files- README.md +127 -0
- config.json +144 -0
- preprocessor_config.json +23 -0
- tf_model.h5 +3 -0
README.md
ADDED
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
base_model: nvidia/mit-b0
|
4 |
+
tags:
|
5 |
+
- generated_from_keras_callback
|
6 |
+
model-index:
|
7 |
+
- name: luca-g97/mit-b0-finetuned-sidewalks
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
12 |
+
probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# luca-g97/mit-b0-finetuned-sidewalks
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [nvidia/mit-b0](https://huggingface.co/nvidia/mit-b0) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Train Loss: 1.3678
|
19 |
+
- Validation Loss: 0.8166
|
20 |
+
- Validation Mean Iou: 0.1980
|
21 |
+
- Validation Mean Accuracy: 0.2461
|
22 |
+
- Validation Overall Accuracy: 0.7806
|
23 |
+
- Validation Accuracy Unlabeled: 0.0
|
24 |
+
- Validation Accuracy Flat-road: 0.7198
|
25 |
+
- Validation Accuracy Flat-sidewalk: 0.9333
|
26 |
+
- Validation Accuracy Flat-crosswalk: 0.1239
|
27 |
+
- Validation Accuracy Flat-cyclinglane: 0.6224
|
28 |
+
- Validation Accuracy Flat-parkingdriveway: 0.2909
|
29 |
+
- Validation Accuracy Flat-railtrack: nan
|
30 |
+
- Validation Accuracy Flat-curb: 0.2044
|
31 |
+
- Validation Accuracy Human-person: 0.0227
|
32 |
+
- Validation Accuracy Human-rider: 0.0
|
33 |
+
- Validation Accuracy Vehicle-car: 0.8980
|
34 |
+
- Validation Accuracy Vehicle-truck: 0.0
|
35 |
+
- Validation Accuracy Vehicle-bus: nan
|
36 |
+
- Validation Accuracy Vehicle-tramtrain: nan
|
37 |
+
- Validation Accuracy Vehicle-motorcycle: 0.0
|
38 |
+
- Validation Accuracy Vehicle-bicycle: 0.0
|
39 |
+
- Validation Accuracy Vehicle-caravan: 0.0
|
40 |
+
- Validation Accuracy Vehicle-cartrailer: 0.0
|
41 |
+
- Validation Accuracy Construction-building: 0.8838
|
42 |
+
- Validation Accuracy Construction-door: 0.0
|
43 |
+
- Validation Accuracy Construction-wall: 0.0930
|
44 |
+
- Validation Accuracy Construction-fenceguardrail: 0.0426
|
45 |
+
- Validation Accuracy Construction-bridge: 0.0
|
46 |
+
- Validation Accuracy Construction-tunnel: nan
|
47 |
+
- Validation Accuracy Construction-stairs: 0.0
|
48 |
+
- Validation Accuracy Object-pole: 0.0725
|
49 |
+
- Validation Accuracy Object-trafficsign: 0.0
|
50 |
+
- Validation Accuracy Object-trafficlight: 0.0
|
51 |
+
- Validation Accuracy Nature-vegetation: 0.9093
|
52 |
+
- Validation Accuracy Nature-terrain: 0.8657
|
53 |
+
- Validation Accuracy Sky: 0.9392
|
54 |
+
- Validation Accuracy Void-ground: 0.0
|
55 |
+
- Validation Accuracy Void-dynamic: 0.0
|
56 |
+
- Validation Accuracy Void-static: 0.0062
|
57 |
+
- Validation Accuracy Void-unclear: 0.0
|
58 |
+
- Validation Iou Unlabeled: 0.0
|
59 |
+
- Validation Iou Flat-road: 0.5656
|
60 |
+
- Validation Iou Flat-sidewalk: 0.7927
|
61 |
+
- Validation Iou Flat-crosswalk: 0.1207
|
62 |
+
- Validation Iou Flat-cyclinglane: 0.5722
|
63 |
+
- Validation Iou Flat-parkingdriveway: 0.1948
|
64 |
+
- Validation Iou Flat-railtrack: nan
|
65 |
+
- Validation Iou Flat-curb: 0.1673
|
66 |
+
- Validation Iou Human-person: 0.0225
|
67 |
+
- Validation Iou Human-rider: 0.0
|
68 |
+
- Validation Iou Vehicle-car: 0.5772
|
69 |
+
- Validation Iou Vehicle-truck: 0.0
|
70 |
+
- Validation Iou Vehicle-bus: nan
|
71 |
+
- Validation Iou Vehicle-tramtrain: nan
|
72 |
+
- Validation Iou Vehicle-motorcycle: 0.0
|
73 |
+
- Validation Iou Vehicle-bicycle: 0.0
|
74 |
+
- Validation Iou Vehicle-caravan: 0.0
|
75 |
+
- Validation Iou Vehicle-cartrailer: 0.0
|
76 |
+
- Validation Iou Construction-building: 0.5809
|
77 |
+
- Validation Iou Construction-door: 0.0
|
78 |
+
- Validation Iou Construction-wall: 0.0864
|
79 |
+
- Validation Iou Construction-fenceguardrail: 0.0425
|
80 |
+
- Validation Iou Construction-bridge: 0.0
|
81 |
+
- Validation Iou Construction-tunnel: nan
|
82 |
+
- Validation Iou Construction-stairs: 0.0
|
83 |
+
- Validation Iou Object-pole: 0.0692
|
84 |
+
- Validation Iou Object-trafficsign: 0.0
|
85 |
+
- Validation Iou Object-trafficlight: 0.0
|
86 |
+
- Validation Iou Nature-vegetation: 0.7793
|
87 |
+
- Validation Iou Nature-terrain: 0.6938
|
88 |
+
- Validation Iou Sky: 0.8673
|
89 |
+
- Validation Iou Void-ground: 0.0
|
90 |
+
- Validation Iou Void-dynamic: 0.0
|
91 |
+
- Validation Iou Void-static: 0.0061
|
92 |
+
- Validation Iou Void-unclear: 0.0
|
93 |
+
- Epoch: 0
|
94 |
+
|
95 |
+
## Model description
|
96 |
+
|
97 |
+
More information needed
|
98 |
+
|
99 |
+
## Intended uses & limitations
|
100 |
+
|
101 |
+
More information needed
|
102 |
+
|
103 |
+
## Training and evaluation data
|
104 |
+
|
105 |
+
More information needed
|
106 |
+
|
107 |
+
## Training procedure
|
108 |
+
|
109 |
+
### Training hyperparameters
|
110 |
+
|
111 |
+
The following hyperparameters were used during training:
|
112 |
+
- optimizer: {'name': 'Adam', 'weight_decay': None, 'clipnorm': None, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile': True, 'is_legacy_optimizer': False, 'learning_rate': 6e-05, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
|
113 |
+
- training_precision: float32
|
114 |
+
|
115 |
+
### Training results
|
116 |
+
|
117 |
+
| 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 |
|
118 |
+
|:----------:|:---------------:|:-------------------:|:------------------------:|:---------------------------:|:-----------------------------:|:-----------------------------:|:---------------------------------:|:----------------------------------:|:------------------------------------:|:----------------------------------------:|:----------------------------------:|:-----------------------------:|:--------------------------------:|:-------------------------------:|:-------------------------------:|:---------------------------------:|:-------------------------------:|:-------------------------------------:|:--------------------------------------:|:-----------------------------------:|:-----------------------------------:|:--------------------------------------:|:-----------------------------------------:|:-------------------------------------:|:-------------------------------------:|:-----------------------------------------------:|:---------------------------------------:|:---------------------------------------:|:---------------------------------------:|:-------------------------------:|:--------------------------------------:|:---------------------------------------:|:-------------------------------------:|:----------------------------------:|:-----------------------:|:-------------------------------:|:--------------------------------:|:-------------------------------:|:--------------------------------:|:------------------------:|:------------------------:|:----------------------------:|:-----------------------------:|:-------------------------------:|:-----------------------------------:|:-----------------------------:|:------------------------:|:---------------------------:|:--------------------------:|:--------------------------:|:----------------------------:|:--------------------------:|:--------------------------------:|:---------------------------------:|:------------------------------:|:------------------------------:|:---------------------------------:|:------------------------------------:|:--------------------------------:|:--------------------------------:|:------------------------------------------:|:----------------------------------:|:----------------------------------:|:----------------------------------:|:--------------------------:|:---------------------------------:|:----------------------------------:|:--------------------------------:|:-----------------------------:|:------------------:|:--------------------------:|:---------------------------:|:--------------------------:|:---------------------------:|:-----:|
|
119 |
+
| 1.3678 | 0.8166 | 0.1980 | 0.2461 | 0.7806 | 0.0 | 0.7198 | 0.9333 | 0.1239 | 0.6224 | 0.2909 | nan | 0.2044 | 0.0227 | 0.0 | 0.8980 | 0.0 | nan | nan | 0.0 | 0.0 | 0.0 | 0.0 | 0.8838 | 0.0 | 0.0930 | 0.0426 | 0.0 | nan | 0.0 | 0.0725 | 0.0 | 0.0 | 0.9093 | 0.8657 | 0.9392 | 0.0 | 0.0 | 0.0062 | 0.0 | 0.0 | 0.5656 | 0.7927 | 0.1207 | 0.5722 | 0.1948 | nan | 0.1673 | 0.0225 | 0.0 | 0.5772 | 0.0 | nan | nan | 0.0 | 0.0 | 0.0 | 0.0 | 0.5809 | 0.0 | 0.0864 | 0.0425 | 0.0 | nan | 0.0 | 0.0692 | 0.0 | 0.0 | 0.7793 | 0.6938 | 0.8673 | 0.0 | 0.0 | 0.0061 | 0.0 | 0 |
|
120 |
+
|
121 |
+
|
122 |
+
### Framework versions
|
123 |
+
|
124 |
+
- Transformers 4.35.0
|
125 |
+
- TensorFlow 2.14.0
|
126 |
+
- Datasets 2.14.6
|
127 |
+
- Tokenizers 0.14.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.35.0"
|
144 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_reduce_labels": false,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"image_mean": [
|
7 |
+
0.485,
|
8 |
+
0.456,
|
9 |
+
0.406
|
10 |
+
],
|
11 |
+
"image_processor_type": "SegformerImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.229,
|
14 |
+
0.224,
|
15 |
+
0.225
|
16 |
+
],
|
17 |
+
"resample": 2,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"height": 512,
|
21 |
+
"width": 512
|
22 |
+
}
|
23 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:87067ba17bf02c521dcc83db219104035de505263f71a8e5fc159f5be8bc7594
|
3 |
+
size 15167476
|