MexicanVanGogh commited on
Commit
3e67c7c
1 Parent(s): 068323b

End of training

Browse files
Files changed (4) hide show
  1. README.md +117 -0
  2. config.json +102 -0
  3. pytorch_model.bin +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-finetuned-segments-greenhouse-jun-24
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-finetuned-segments-greenhouse-jun-24
17
+
18
+ This model is a fine-tuned version of [nvidia/mit-b0](https://huggingface.co/nvidia/mit-b0) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.6502
21
+ - Mean Iou: 0.3640
22
+ - Mean Accuracy: 0.4319
23
+ - Overall Accuracy: 0.8283
24
+ - Accuracy Unlabeled: nan
25
+ - Accuracy Object: 0.0
26
+ - Accuracy Road: 0.9324
27
+ - Accuracy Plant: 0.8871
28
+ - Accuracy Iron: 0.0017
29
+ - Accuracy Wood: nan
30
+ - Accuracy Wall: 0.7226
31
+ - Accuracy Raw Road: 0.9465
32
+ - Accuracy Bottom Wall: 0.0
33
+ - Accuracy Roof: 0.0
34
+ - Accuracy Grass: nan
35
+ - Accuracy Mulch: 0.8289
36
+ - Accuracy Person: nan
37
+ - Accuracy Tomato: 0.0
38
+ - Iou Unlabeled: nan
39
+ - Iou Object: 0.0
40
+ - Iou Road: 0.7525
41
+ - Iou Plant: 0.7027
42
+ - Iou Iron: 0.0017
43
+ - Iou Wood: nan
44
+ - Iou Wall: 0.5584
45
+ - Iou Raw Road: 0.8998
46
+ - Iou Bottom Wall: 0.0
47
+ - Iou Roof: 0.0
48
+ - Iou Grass: nan
49
+ - Iou Mulch: 0.7252
50
+ - Iou Person: nan
51
+ - Iou Tomato: 0.0
52
+
53
+ ## Model description
54
+
55
+ More information needed
56
+
57
+ ## Intended uses & limitations
58
+
59
+ More information needed
60
+
61
+ ## Training and evaluation data
62
+
63
+ More information needed
64
+
65
+ ## Training procedure
66
+
67
+ ### Training hyperparameters
68
+
69
+ The following hyperparameters were used during training:
70
+ - learning_rate: 6e-05
71
+ - train_batch_size: 2
72
+ - eval_batch_size: 2
73
+ - seed: 42
74
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
75
+ - lr_scheduler_type: linear
76
+ - num_epochs: 30
77
+
78
+ ### Training results
79
+
80
+ | Training Loss | Epoch | Step | Validation Loss | Mean Iou | Mean Accuracy | Overall Accuracy | Accuracy Unlabeled | Accuracy Object | Accuracy Road | Accuracy Plant | Accuracy Iron | Accuracy Wood | Accuracy Wall | Accuracy Raw Road | Accuracy Bottom Wall | Accuracy Roof | Accuracy Grass | Accuracy Mulch | Accuracy Person | Accuracy Tomato | Iou Unlabeled | Iou Object | Iou Road | Iou Plant | Iou Iron | Iou Wood | Iou Wall | Iou Raw Road | Iou Bottom Wall | Iou Roof | Iou Grass | Iou Mulch | Iou Person | Iou Tomato |
81
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:-------------:|:----------------:|:------------------:|:---------------:|:-------------:|:--------------:|:-------------:|:-------------:|:-------------:|:-----------------:|:--------------------:|:-------------:|:--------------:|:--------------:|:---------------:|:---------------:|:-------------:|:----------:|:--------:|:---------:|:--------:|:--------:|:--------:|:------------:|:---------------:|:--------:|:---------:|:---------:|:----------:|:----------:|
82
+ | 1.9416 | 1.05 | 20 | 2.3650 | 0.1880 | 0.3464 | 0.6650 | nan | 0.0 | 0.7192 | 0.7931 | 0.2656 | nan | 0.0681 | 0.8201 | 0.0 | 0.0 | nan | 0.7950 | nan | 0.0029 | nan | 0.0 | 0.4874 | 0.5054 | 0.1242 | 0.0 | 0.0676 | 0.8065 | 0.0 | 0.0 | 0.0 | 0.4498 | 0.0 | 0.0027 |
83
+ | 1.4047 | 2.11 | 40 | 1.6208 | 0.2889 | 0.3699 | 0.7203 | nan | 0.0 | 0.7452 | 0.8135 | 0.0384 | nan | 0.4353 | 0.8655 | 0.0 | 0.0 | nan | 0.8014 | nan | 0.0 | nan | 0.0 | 0.4970 | 0.5407 | 0.0371 | nan | 0.4041 | 0.8614 | 0.0 | 0.0 | nan | 0.5489 | nan | 0.0 |
84
+ | 1.4998 | 3.16 | 60 | 1.2645 | 0.3150 | 0.3936 | 0.7522 | nan | 0.0 | 0.7532 | 0.8121 | 0.0174 | nan | 0.6304 | 0.9056 | 0.0 | 0.0 | nan | 0.8171 | nan | 0.0 | nan | 0.0 | 0.5316 | 0.5644 | 0.0174 | nan | 0.5346 | 0.8961 | 0.0 | 0.0 | nan | 0.6057 | nan | 0.0 |
85
+ | 1.0844 | 4.21 | 80 | 1.1551 | 0.3234 | 0.4083 | 0.7685 | nan | 0.0 | 0.8290 | 0.7952 | 0.0230 | nan | 0.6585 | 0.9033 | 0.0 | 0.0 | nan | 0.8740 | nan | 0.0 | nan | 0.0 | 0.5971 | 0.5910 | 0.0229 | nan | 0.5307 | 0.8905 | 0.0 | 0.0 | nan | 0.6020 | nan | 0.0 |
86
+ | 1.2949 | 5.26 | 100 | 1.0333 | 0.3363 | 0.4129 | 0.7841 | nan | 0.0 | 0.8274 | 0.8389 | 0.0140 | nan | 0.7114 | 0.9133 | 0.0 | 0.0 | nan | 0.8243 | nan | 0.0 | nan | 0.0 | 0.6211 | 0.6125 | 0.0140 | nan | 0.5854 | 0.8890 | 0.0 | 0.0 | nan | 0.6410 | nan | 0.0 |
87
+ | 1.3389 | 6.32 | 120 | 0.9260 | 0.3417 | 0.4155 | 0.7932 | nan | 0.0 | 0.8668 | 0.8408 | 0.0 | nan | 0.7105 | 0.9202 | 0.0 | 0.0 | nan | 0.8164 | nan | 0.0 | nan | 0.0 | 0.6489 | 0.6214 | 0.0 | nan | 0.6039 | 0.8936 | 0.0 | 0.0 | nan | 0.6495 | nan | 0.0 |
88
+ | 0.7833 | 7.37 | 140 | 0.9264 | 0.3357 | 0.4075 | 0.7871 | nan | 0.0 | 0.8811 | 0.8468 | 0.0 | nan | 0.6389 | 0.9125 | 0.0 | 0.0 | nan | 0.7963 | nan | 0.0 | nan | 0.0 | 0.6176 | 0.6285 | 0.0 | nan | 0.5777 | 0.8915 | 0.0 | 0.0 | nan | 0.6419 | nan | 0.0 |
89
+ | 1.0194 | 8.42 | 160 | 0.8761 | 0.3499 | 0.4231 | 0.8038 | nan | 0.0 | 0.8549 | 0.8586 | 0.0 | nan | 0.7365 | 0.9299 | 0.0 | 0.0 | nan | 0.8508 | nan | 0.0 | nan | 0.0 | 0.6797 | 0.6342 | 0.0 | nan | 0.6119 | 0.8995 | 0.0 | 0.0 | nan | 0.6738 | nan | 0.0 |
90
+ | 0.5558 | 9.47 | 180 | 0.8468 | 0.3458 | 0.4174 | 0.7981 | nan | 0.0 | 0.8533 | 0.8817 | 0.0 | nan | 0.6946 | 0.9063 | 0.0 | 0.0 | nan | 0.8381 | nan | 0.0 | nan | 0.0 | 0.6659 | 0.6338 | 0.0 | nan | 0.6155 | 0.8865 | 0.0 | 0.0 | nan | 0.6564 | nan | 0.0 |
91
+ | 1.2579 | 10.53 | 200 | 0.7776 | 0.3502 | 0.4184 | 0.8047 | nan | 0.0 | 0.8678 | 0.8680 | 0.0 | nan | 0.6966 | 0.9388 | 0.0 | 0.0 | nan | 0.8131 | nan | 0.0 | nan | 0.0 | 0.6432 | 0.6556 | 0.0 | nan | 0.6191 | 0.8990 | 0.0 | 0.0 | nan | 0.6852 | nan | 0.0 |
92
+ | 0.7671 | 11.58 | 220 | 0.7935 | 0.3579 | 0.4276 | 0.8152 | nan | 0.0 | 0.8816 | 0.8768 | 0.0 | nan | 0.7413 | 0.9356 | 0.0 | 0.0 | nan | 0.8410 | nan | 0.0 | nan | 0.0 | 0.6987 | 0.6610 | 0.0 | nan | 0.6315 | 0.9022 | 0.0 | 0.0 | nan | 0.6857 | nan | 0.0 |
93
+ | 0.5097 | 12.63 | 240 | 0.7718 | 0.3549 | 0.4262 | 0.8129 | nan | 0.0 | 0.9047 | 0.8658 | 0.0 | nan | 0.7146 | 0.9298 | 0.0 | 0.0 | nan | 0.8467 | nan | 0.0 | nan | 0.0 | 0.6773 | 0.6707 | 0.0 | nan | 0.6172 | 0.9016 | 0.0 | 0.0 | nan | 0.6818 | nan | 0.0 |
94
+ | 0.624 | 13.68 | 260 | 0.7270 | 0.3609 | 0.4282 | 0.8228 | nan | 0.0 | 0.8772 | 0.9219 | 0.0004 | nan | 0.7225 | 0.9308 | 0.0 | 0.0 | nan | 0.8291 | nan | 0.0 | nan | 0.0 | 0.7310 | 0.6897 | 0.0004 | nan | 0.5916 | 0.8975 | 0.0 | 0.0 | nan | 0.6988 | nan | 0.0 |
95
+ | 0.535 | 14.74 | 280 | 0.7681 | 0.3526 | 0.4243 | 0.8085 | nan | 0.0 | 0.9574 | 0.8230 | 0.0009 | nan | 0.7059 | 0.9289 | 0.0 | 0.0 | nan | 0.8268 | nan | 0.0 | nan | 0.0 | 0.6786 | 0.6512 | 0.0009 | nan | 0.6011 | 0.9014 | 0.0 | 0.0 | nan | 0.6930 | nan | 0.0 |
96
+ | 0.6093 | 15.79 | 300 | 0.6960 | 0.3636 | 0.4349 | 0.8257 | nan | 0.0 | 0.9296 | 0.8704 | 0.0102 | nan | 0.7227 | 0.9435 | 0.0 | 0.0 | nan | 0.8722 | nan | 0.0 | nan | 0.0 | 0.7270 | 0.6943 | 0.0102 | nan | 0.5991 | 0.9034 | 0.0 | 0.0 | nan | 0.7024 | nan | 0.0 |
97
+ | 0.5584 | 16.84 | 320 | 0.6886 | 0.3671 | 0.4368 | 0.8281 | nan | 0.0 | 0.9186 | 0.8889 | 0.0157 | nan | 0.7333 | 0.9371 | 0.0 | 0.0 | nan | 0.8739 | nan | 0.0 | nan | 0.0 | 0.7428 | 0.6928 | 0.0157 | nan | 0.6008 | 0.9040 | 0.0 | 0.0 | nan | 0.7148 | nan | 0.0 |
98
+ | 0.4421 | 17.89 | 340 | 0.6946 | 0.3644 | 0.4336 | 0.8238 | nan | 0.0 | 0.9061 | 0.8956 | 0.0308 | nan | 0.7280 | 0.9336 | 0.0 | 0.0 | nan | 0.8422 | nan | 0.0 | nan | 0.0 | 0.7217 | 0.6974 | 0.0308 | nan | 0.5717 | 0.9021 | 0.0 | 0.0 | nan | 0.7199 | nan | 0.0 |
99
+ | 0.7997 | 18.95 | 360 | 0.7025 | 0.3580 | 0.4266 | 0.8172 | nan | 0.0 | 0.8983 | 0.8901 | 0.0075 | nan | 0.6955 | 0.9330 | 0.0 | 0.0 | nan | 0.8415 | nan | 0.0 | nan | 0.0 | 0.7140 | 0.6754 | 0.0075 | nan | 0.5592 | 0.9020 | 0.0 | 0.0 | nan | 0.7216 | nan | 0.0 |
100
+ | 0.8388 | 20.0 | 380 | 0.6959 | 0.3632 | 0.4366 | 0.8242 | nan | 0.0 | 0.9513 | 0.8467 | 0.0120 | nan | 0.7460 | 0.9393 | 0.0 | 0.0 | nan | 0.8710 | nan | 0.0 | nan | 0.0 | 0.7218 | 0.6943 | 0.0120 | nan | 0.5799 | 0.9040 | 0.0 | 0.0 | nan | 0.7199 | nan | 0.0 |
101
+ | 0.6424 | 21.05 | 400 | 0.6728 | 0.3651 | 0.4285 | 0.8280 | nan | 0.0 | 0.8680 | 0.9419 | 0.0007 | nan | 0.7148 | 0.9412 | 0.0 | 0.0 | nan | 0.8186 | nan | 0.0 | nan | 0.0 | 0.7527 | 0.6967 | 0.0007 | nan | 0.5737 | 0.9026 | 0.0 | 0.0 | nan | 0.7249 | nan | 0.0 |
102
+ | 0.3287 | 22.11 | 420 | 0.6786 | 0.3621 | 0.4314 | 0.8247 | nan | 0.0 | 0.9357 | 0.8771 | 0.0053 | nan | 0.7122 | 0.9410 | 0.0 | 0.0 | nan | 0.8427 | nan | 0.0 | nan | 0.0 | 0.7335 | 0.6949 | 0.0053 | nan | 0.5626 | 0.9025 | 0.0 | 0.0 | nan | 0.7222 | nan | 0.0 |
103
+ | 0.386 | 23.16 | 440 | 0.6603 | 0.3667 | 0.4354 | 0.8295 | nan | 0.0 | 0.9165 | 0.9030 | 0.0122 | nan | 0.7266 | 0.9361 | 0.0 | 0.0 | nan | 0.8593 | nan | 0.0 | nan | 0.0 | 0.7526 | 0.7050 | 0.0122 | nan | 0.5635 | 0.9033 | 0.0 | 0.0 | nan | 0.7301 | nan | 0.0 |
104
+ | 0.3378 | 24.21 | 460 | 0.6791 | 0.3644 | 0.4331 | 0.8265 | nan | 0.0 | 0.9426 | 0.8772 | 0.0103 | nan | 0.7197 | 0.9405 | 0.0 | 0.0 | nan | 0.8403 | nan | 0.0 | nan | 0.0 | 0.7441 | 0.6939 | 0.0103 | nan | 0.5636 | 0.9039 | 0.0 | 0.0 | nan | 0.7284 | nan | 0.0 |
105
+ | 0.3678 | 25.26 | 480 | 0.6915 | 0.3633 | 0.4342 | 0.8227 | nan | 0.0 | 0.9479 | 0.8577 | 0.0234 | nan | 0.7165 | 0.9384 | 0.0 | 0.0 | nan | 0.8579 | nan | 0.0 | nan | 0.0 | 0.7171 | 0.6910 | 0.0234 | nan | 0.5647 | 0.9051 | 0.0 | 0.0 | nan | 0.7320 | nan | 0.0 |
106
+ | 0.328 | 26.32 | 500 | 0.6879 | 0.3662 | 0.4360 | 0.8259 | nan | 0.0 | 0.9434 | 0.8741 | 0.0266 | nan | 0.7189 | 0.9346 | 0.0 | 0.0 | nan | 0.8627 | nan | 0.0 | nan | 0.0 | 0.7357 | 0.6927 | 0.0266 | nan | 0.5712 | 0.9042 | 0.0 | 0.0 | nan | 0.7316 | nan | 0.0 |
107
+ | 0.8502 | 27.37 | 520 | 0.6593 | 0.3644 | 0.4332 | 0.8270 | nan | 0.0 | 0.9414 | 0.8739 | 0.0066 | nan | 0.7263 | 0.9446 | 0.0 | 0.0 | nan | 0.8390 | nan | 0.0 | nan | 0.0 | 0.7449 | 0.6962 | 0.0066 | nan | 0.5647 | 0.9020 | 0.0 | 0.0 | nan | 0.7294 | nan | 0.0 |
108
+ | 0.3528 | 28.42 | 540 | 0.6777 | 0.3626 | 0.4305 | 0.8238 | nan | 0.0 | 0.9439 | 0.8717 | 0.0114 | nan | 0.7046 | 0.9429 | 0.0 | 0.0 | nan | 0.8307 | nan | 0.0 | nan | 0.0 | 0.7364 | 0.6872 | 0.0114 | nan | 0.5563 | 0.9029 | 0.0 | 0.0 | nan | 0.7320 | nan | 0.0 |
109
+ | 0.5908 | 29.47 | 560 | 0.6502 | 0.3640 | 0.4319 | 0.8283 | nan | 0.0 | 0.9324 | 0.8871 | 0.0017 | nan | 0.7226 | 0.9465 | 0.0 | 0.0 | nan | 0.8289 | nan | 0.0 | nan | 0.0 | 0.7525 | 0.7027 | 0.0017 | nan | 0.5584 | 0.8998 | 0.0 | 0.0 | nan | 0.7252 | nan | 0.0 |
110
+
111
+
112
+ ### Framework versions
113
+
114
+ - Transformers 4.33.2
115
+ - Pytorch 2.0.1
116
+ - Datasets 2.15.0
117
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "plant",
35
+ "4": "iron",
36
+ "5": "wood",
37
+ "6": "wall",
38
+ "7": "raw_road",
39
+ "8": "bottom_wall",
40
+ "9": "roof",
41
+ "10": "grass",
42
+ "11": "mulch",
43
+ "12": "person",
44
+ "13": "Tomato"
45
+ },
46
+ "image_size": 224,
47
+ "initializer_range": 0.02,
48
+ "label2id": {
49
+ "Tomato": 13,
50
+ "bottom_wall": 8,
51
+ "grass": 10,
52
+ "iron": 4,
53
+ "mulch": 11,
54
+ "object": 1,
55
+ "person": 12,
56
+ "plant": 3,
57
+ "raw_road": 7,
58
+ "road": 2,
59
+ "roof": 9,
60
+ "unlabeled": 0,
61
+ "wall": 6,
62
+ "wood": 5
63
+ },
64
+ "layer_norm_eps": 1e-06,
65
+ "mlp_ratios": [
66
+ 4,
67
+ 4,
68
+ 4,
69
+ 4
70
+ ],
71
+ "model_type": "segformer",
72
+ "num_attention_heads": [
73
+ 1,
74
+ 2,
75
+ 5,
76
+ 8
77
+ ],
78
+ "num_channels": 3,
79
+ "num_encoder_blocks": 4,
80
+ "patch_sizes": [
81
+ 7,
82
+ 3,
83
+ 3,
84
+ 3
85
+ ],
86
+ "reshape_last_stage": true,
87
+ "semantic_loss_ignore_index": 255,
88
+ "sr_ratios": [
89
+ 8,
90
+ 4,
91
+ 2,
92
+ 1
93
+ ],
94
+ "strides": [
95
+ 4,
96
+ 2,
97
+ 2,
98
+ 2
99
+ ],
100
+ "torch_dtype": "float32",
101
+ "transformers_version": "4.33.2"
102
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f75a2e95b104d19b3d47e96c75f94d09952ddfeb9e91825dd7925003869aea4
3
+ size 14944077
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f408471dcf5367d9f71aaf5f2cd4ca2b94acebd8b875c8d266ba41d07a92fcfa
3
+ size 4155