AliShah07 commited on
Commit
d22b89c
1 Parent(s): 0272953

End of training

Browse files
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-stamp-verification2
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-stamp-verification2
17
+
18
+ This model is a fine-tuned version of [nvidia/mit-b0](https://huggingface.co/nvidia/mit-b0) on the AliShah07/stamp-verification dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.0365
21
+ - Mean Iou: 0.1372
22
+ - Mean Accuracy: 0.2744
23
+ - Overall Accuracy: 0.2744
24
+ - Accuracy Unlabeled: nan
25
+ - Accuracy Stamp: 0.2744
26
+ - Iou Unlabeled: 0.0
27
+ - Iou Stamp: 0.2744
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 6e-05
47
+ - train_batch_size: 2
48
+ - eval_batch_size: 2
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 20
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Mean Iou | Mean Accuracy | Overall Accuracy | Accuracy Unlabeled | Accuracy Stamp | Iou Unlabeled | Iou Stamp |
57
+ |:-------------:|:-------:|:----:|:---------------:|:--------:|:-------------:|:----------------:|:------------------:|:--------------:|:-------------:|:---------:|
58
+ | 0.4566 | 0.8333 | 20 | 0.4738 | 0.1430 | 0.2860 | 0.2860 | nan | 0.2860 | 0.0 | 0.2860 |
59
+ | 0.3076 | 1.6667 | 40 | 0.3046 | 0.1307 | 0.2614 | 0.2614 | nan | 0.2614 | 0.0 | 0.2614 |
60
+ | 0.2373 | 2.5 | 60 | 0.2226 | 0.0604 | 0.1209 | 0.1209 | nan | 0.1209 | 0.0 | 0.1209 |
61
+ | 0.2184 | 3.3333 | 80 | 0.2220 | 0.1942 | 0.3884 | 0.3884 | nan | 0.3884 | 0.0 | 0.3884 |
62
+ | 0.1578 | 4.1667 | 100 | 0.1704 | 0.2468 | 0.4936 | 0.4936 | nan | 0.4936 | 0.0 | 0.4936 |
63
+ | 0.1412 | 5.0 | 120 | 0.1269 | 0.0376 | 0.0751 | 0.0751 | nan | 0.0751 | 0.0 | 0.0751 |
64
+ | 0.1109 | 5.8333 | 140 | 0.1076 | 0.2741 | 0.5483 | 0.5483 | nan | 0.5483 | 0.0 | 0.5483 |
65
+ | 0.106 | 6.6667 | 160 | 0.0892 | 0.0583 | 0.1166 | 0.1166 | nan | 0.1166 | 0.0 | 0.1166 |
66
+ | 0.0899 | 7.5 | 180 | 0.0747 | 0.0173 | 0.0346 | 0.0346 | nan | 0.0346 | 0.0 | 0.0346 |
67
+ | 0.0794 | 8.3333 | 200 | 0.0683 | 0.0189 | 0.0378 | 0.0378 | nan | 0.0378 | 0.0 | 0.0378 |
68
+ | 0.0741 | 9.1667 | 220 | 0.0639 | 0.0981 | 0.1963 | 0.1963 | nan | 0.1963 | 0.0 | 0.1963 |
69
+ | 0.0832 | 10.0 | 240 | 0.0559 | 0.0599 | 0.1198 | 0.1198 | nan | 0.1198 | 0.0 | 0.1198 |
70
+ | 0.0575 | 10.8333 | 260 | 0.0527 | 0.0769 | 0.1538 | 0.1538 | nan | 0.1538 | 0.0 | 0.1538 |
71
+ | 0.05 | 11.6667 | 280 | 0.0502 | 0.0852 | 0.1704 | 0.1704 | nan | 0.1704 | 0.0 | 0.1704 |
72
+ | 0.0523 | 12.5 | 300 | 0.0446 | 0.1038 | 0.2076 | 0.2076 | nan | 0.2076 | 0.0 | 0.2076 |
73
+ | 0.0481 | 13.3333 | 320 | 0.0431 | 0.0956 | 0.1913 | 0.1913 | nan | 0.1913 | 0.0 | 0.1913 |
74
+ | 0.0471 | 14.1667 | 340 | 0.0420 | 0.1330 | 0.2660 | 0.2660 | nan | 0.2660 | 0.0 | 0.2660 |
75
+ | 0.042 | 15.0 | 360 | 0.0412 | 0.1124 | 0.2248 | 0.2248 | nan | 0.2248 | 0.0 | 0.2248 |
76
+ | 0.041 | 15.8333 | 380 | 0.0400 | 0.1144 | 0.2288 | 0.2288 | nan | 0.2288 | 0.0 | 0.2288 |
77
+ | 0.0444 | 16.6667 | 400 | 0.0383 | 0.1415 | 0.2830 | 0.2830 | nan | 0.2830 | 0.0 | 0.2830 |
78
+ | 0.0514 | 17.5 | 420 | 0.0377 | 0.0779 | 0.1559 | 0.1559 | nan | 0.1559 | 0.0 | 0.1559 |
79
+ | 0.0434 | 18.3333 | 440 | 0.0374 | 0.1482 | 0.2964 | 0.2964 | nan | 0.2964 | 0.0 | 0.2964 |
80
+ | 0.0383 | 19.1667 | 460 | 0.0363 | 0.1843 | 0.3686 | 0.3686 | nan | 0.3686 | 0.0 | 0.3686 |
81
+ | 0.0411 | 20.0 | 480 | 0.0365 | 0.1372 | 0.2744 | 0.2744 | nan | 0.2744 | 0.0 | 0.2744 |
82
+
83
+
84
+ ### Framework versions
85
+
86
+ - Transformers 4.40.2
87
+ - Pytorch 2.2.1+cu121
88
+ - Datasets 2.19.1
89
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "stamp"
33
+ },
34
+ "image_size": 224,
35
+ "initializer_range": 0.02,
36
+ "label2id": {
37
+ "stamp": 1,
38
+ "unlabeled": 0
39
+ },
40
+ "layer_norm_eps": 1e-06,
41
+ "mlp_ratios": [
42
+ 4,
43
+ 4,
44
+ 4,
45
+ 4
46
+ ],
47
+ "model_type": "segformer",
48
+ "num_attention_heads": [
49
+ 1,
50
+ 2,
51
+ 5,
52
+ 8
53
+ ],
54
+ "num_channels": 3,
55
+ "num_encoder_blocks": 4,
56
+ "patch_sizes": [
57
+ 7,
58
+ 3,
59
+ 3,
60
+ 3
61
+ ],
62
+ "reshape_last_stage": true,
63
+ "semantic_loss_ignore_index": 255,
64
+ "sr_ratios": [
65
+ 8,
66
+ 4,
67
+ 2,
68
+ 1
69
+ ],
70
+ "strides": [
71
+ 4,
72
+ 2,
73
+ 2,
74
+ 2
75
+ ],
76
+ "torch_dtype": "float32",
77
+ "transformers_version": "4.40.2"
78
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca7e35c957af234815f67d6edff1589f69c69f72b3e12c16deeba74ec9555de4
3
+ size 14884776
runs/May07_06-19-03_e951751501eb/events.out.tfevents.1715062756.e951751501eb.6709.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffdba04d24fa1d8a45d489fafaffe4be96519782cd1c759622739c1659310bd6
3
+ size 122426
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62c2481567aa774fe14db3186edd7b3a293e3f4fbb26315856497de3c9d39b3e
3
+ size 5112