unreal-hug commited on
Commit
579a8a6
1 Parent(s): 5d9b539

End of training

Browse files
Files changed (4) hide show
  1. README.md +96 -0
  2. config.json +98 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ base_model: nvidia/mit-b5
4
+ tags:
5
+ - vision
6
+ - image-segmentation
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: segformer-b5-seed42-outputs
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-b5-seed42-outputs
17
+
18
+ This model is a fine-tuned version of [nvidia/mit-b5](https://huggingface.co/nvidia/mit-b5) on the unreal-hug/REAL_DATASET_SEG_401_6_lbls dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.2833
21
+ - Mean Iou: 0.3430
22
+ - Mean Accuracy: 0.4050
23
+ - Overall Accuracy: 0.6546
24
+ - Accuracy Unlabeled: nan
25
+ - Accuracy Lv: 0.7625
26
+ - Accuracy Rv: 0.6171
27
+ - Accuracy Ra: 0.7072
28
+ - Accuracy La: 0.6623
29
+ - Accuracy Vs: 0.0
30
+ - Accuracy As: 0.0
31
+ - Accuracy Mk: 0.0227
32
+ - Accuracy Tk: nan
33
+ - Accuracy Asd: 0.3003
34
+ - Accuracy Vsd: 0.4268
35
+ - Accuracy Ak: 0.5517
36
+ - Iou Unlabeled: 0.0
37
+ - Iou Lv: 0.7175
38
+ - Iou Rv: 0.5629
39
+ - Iou Ra: 0.6665
40
+ - Iou La: 0.5980
41
+ - Iou Vs: 0.0
42
+ - Iou As: 0.0
43
+ - Iou Mk: 0.0207
44
+ - Iou Tk: nan
45
+ - Iou Asd: 0.2802
46
+ - Iou Vsd: 0.3970
47
+ - Iou Ak: 0.5307
48
+
49
+ ## Model description
50
+
51
+ More information needed
52
+
53
+ ## Intended uses & limitations
54
+
55
+ More information needed
56
+
57
+ ## Training and evaluation data
58
+
59
+ More information needed
60
+
61
+ ## Training procedure
62
+
63
+ ### Training hyperparameters
64
+
65
+ The following hyperparameters were used during training:
66
+ - learning_rate: 0.0001
67
+ - train_batch_size: 2
68
+ - eval_batch_size: 2
69
+ - seed: 42
70
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
71
+ - lr_scheduler_type: cosine
72
+ - lr_scheduler_warmup_ratio: 0.05
73
+ - training_steps: 1000
74
+
75
+ ### Training results
76
+
77
+ | Training Loss | Epoch | Step | Validation Loss | Mean Iou | Mean Accuracy | Overall Accuracy | Accuracy Unlabeled | Accuracy Lv | Accuracy Rv | Accuracy Ra | Accuracy La | Accuracy Vs | Accuracy As | Accuracy Mk | Accuracy Tk | Accuracy Asd | Accuracy Vsd | Accuracy Ak | Iou Unlabeled | Iou Lv | Iou Rv | Iou Ra | Iou La | Iou Vs | Iou As | Iou Mk | Iou Tk | Iou Asd | Iou Vsd | Iou Ak |
78
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:-------------:|:----------------:|:------------------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:------------:|:------------:|:-----------:|:-------------:|:------:|:------:|:------:|:------:|:------:|:------:|:------:|:------:|:-------:|:-------:|:------:|
79
+ | 0.4921 | 0.62 | 100 | 0.4897 | 0.0906 | 0.1245 | 0.3551 | nan | 0.7217 | 0.0098 | 0.0751 | 0.4344 | 0.0 | 0.0 | 0.0 | nan | 0.0 | 0.0 | 0.0043 | 0.0 | 0.5846 | 0.0097 | 0.0746 | 0.3230 | 0.0 | 0.0 | 0.0 | nan | 0.0 | 0.0 | 0.0043 |
80
+ | 0.3534 | 1.25 | 200 | 0.3565 | 0.2420 | 0.3017 | 0.5592 | nan | 0.7947 | 0.4293 | 0.5941 | 0.3492 | 0.0 | 0.0 | 0.0 | nan | 0.1737 | 0.1500 | 0.5262 | 0.0 | 0.7343 | 0.3850 | 0.3997 | 0.3289 | 0.0 | 0.0 | 0.0 | nan | 0.1681 | 0.1456 | 0.5007 |
81
+ | 0.4663 | 1.88 | 300 | 0.3434 | 0.3620 | 0.4497 | 0.7082 | nan | 0.8026 | 0.7564 | 0.6551 | 0.7392 | 0.0 | 0.0 | 0.0 | nan | 0.3118 | 0.5764 | 0.6560 | 0.0 | 0.7545 | 0.6572 | 0.6039 | 0.5921 | 0.0 | 0.0 | 0.0 | nan | 0.2819 | 0.4908 | 0.6019 |
82
+ | 0.1737 | 2.5 | 400 | 0.3055 | 0.3331 | 0.4090 | 0.6394 | nan | 0.7469 | 0.6281 | 0.5765 | 0.6122 | 0.0 | 0.0 | 0.0004 | nan | 0.2401 | 0.6135 | 0.6724 | 0.0 | 0.7075 | 0.5704 | 0.5194 | 0.5310 | 0.0 | 0.0 | 0.0003 | nan | 0.2292 | 0.5279 | 0.5789 |
83
+ | 0.1954 | 3.12 | 500 | 0.3052 | 0.2570 | 0.2980 | 0.5174 | nan | 0.6624 | 0.4973 | 0.4223 | 0.5361 | 0.0 | 0.0 | 0.0022 | nan | 0.1117 | 0.3193 | 0.4284 | 0.0 | 0.6289 | 0.4592 | 0.4113 | 0.4902 | 0.0 | 0.0 | 0.0022 | nan | 0.1107 | 0.3024 | 0.4216 |
84
+ | 0.2666 | 3.75 | 600 | 0.3177 | 0.3808 | 0.4720 | 0.7175 | nan | 0.7675 | 0.7191 | 0.8483 | 0.7341 | 0.0 | 0.0 | 0.0950 | nan | 0.3086 | 0.6065 | 0.6405 | 0.0 | 0.7200 | 0.6353 | 0.6912 | 0.6409 | 0.0 | 0.0 | 0.0845 | nan | 0.2905 | 0.5245 | 0.6024 |
85
+ | 0.2214 | 4.38 | 700 | 0.2971 | 0.3748 | 0.4463 | 0.7178 | nan | 0.8524 | 0.6207 | 0.7488 | 0.7353 | 0.0 | 0.0 | 0.025 | nan | 0.3236 | 0.5440 | 0.6130 | 0.0 | 0.7909 | 0.5707 | 0.6987 | 0.6564 | 0.0 | 0.0 | 0.0235 | nan | 0.3015 | 0.4902 | 0.5907 |
86
+ | 0.2624 | 5.0 | 800 | 0.2833 | 0.3430 | 0.4050 | 0.6546 | nan | 0.7625 | 0.6171 | 0.7072 | 0.6623 | 0.0 | 0.0 | 0.0227 | nan | 0.3003 | 0.4268 | 0.5517 | 0.0 | 0.7175 | 0.5629 | 0.6665 | 0.5980 | 0.0 | 0.0 | 0.0207 | nan | 0.2802 | 0.3970 | 0.5307 |
87
+ | 0.3578 | 5.62 | 900 | 0.2847 | 0.3329 | 0.3926 | 0.6257 | nan | 0.7276 | 0.5712 | 0.6573 | 0.6410 | 0.0016 | 0.0 | 0.0227 | nan | 0.3125 | 0.4450 | 0.5470 | 0.0 | 0.6860 | 0.5210 | 0.6234 | 0.5790 | 0.0015 | 0.0 | 0.0210 | nan | 0.2906 | 0.4122 | 0.5275 |
88
+ | 0.2736 | 6.25 | 1000 | 0.2861 | 0.3393 | 0.4010 | 0.6425 | nan | 0.7587 | 0.5808 | 0.6702 | 0.6477 | 0.0014 | 0.0 | 0.0244 | nan | 0.3087 | 0.4702 | 0.5477 | 0.0 | 0.7133 | 0.5292 | 0.6319 | 0.5844 | 0.0014 | 0.0 | 0.0225 | nan | 0.2877 | 0.4328 | 0.5295 |
89
+
90
+
91
+ ### Framework versions
92
+
93
+ - Transformers 4.37.2
94
+ - Pytorch 2.1.2+cu121
95
+ - Datasets 2.16.1
96
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "nvidia/mit-b5",
3
+ "architectures": [
4
+ "SegformerForSemanticSegmentation"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "classifier_dropout_prob": 0.1,
8
+ "decoder_hidden_size": 768,
9
+ "depths": [
10
+ 3,
11
+ 6,
12
+ 40,
13
+ 3
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": "unlabeled",
32
+ "1": "LV",
33
+ "2": "RV",
34
+ "3": "RA",
35
+ "4": "LA",
36
+ "5": "VS",
37
+ "6": "AS",
38
+ "7": "MK",
39
+ "8": "TK",
40
+ "9": "ASD",
41
+ "10": "VSD",
42
+ "11": "AK"
43
+ },
44
+ "image_size": 224,
45
+ "initializer_range": 0.02,
46
+ "label2id": {
47
+ "AK": 11,
48
+ "AS": 6,
49
+ "ASD": 9,
50
+ "LA": 4,
51
+ "LV": 1,
52
+ "MK": 7,
53
+ "RA": 3,
54
+ "RV": 2,
55
+ "TK": 8,
56
+ "VS": 5,
57
+ "VSD": 10,
58
+ "unlabeled": 0
59
+ },
60
+ "layer_norm_eps": 1e-06,
61
+ "mlp_ratios": [
62
+ 4,
63
+ 4,
64
+ 4,
65
+ 4
66
+ ],
67
+ "model_type": "segformer",
68
+ "num_attention_heads": [
69
+ 1,
70
+ 2,
71
+ 5,
72
+ 8
73
+ ],
74
+ "num_channels": 3,
75
+ "num_encoder_blocks": 4,
76
+ "patch_sizes": [
77
+ 7,
78
+ 3,
79
+ 3,
80
+ 3
81
+ ],
82
+ "reshape_last_stage": true,
83
+ "semantic_loss_ignore_index": 255,
84
+ "sr_ratios": [
85
+ 8,
86
+ 4,
87
+ 2,
88
+ 1
89
+ ],
90
+ "strides": [
91
+ 4,
92
+ 2,
93
+ 2,
94
+ 2
95
+ ],
96
+ "torch_dtype": "float32",
97
+ "transformers_version": "4.37.2"
98
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e44ae4dd0b6b2aa284bdcf5bef2d2b2a82f81cea1483324bfbd11aadaf91c36b
3
+ size 338559200
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e779ce45b6ca1a69907c5f604588f98a234cfd1f64b279d4feb28bd80cf0cf9a
3
+ size 4728