ironchanchellor commited on
Commit
32bec75
·
1 Parent(s): df8ec70

segformer-b0_DsApollo_ILT

Browse files
README.md ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ base_model: ironchanchellor/segformer-b0_DsA
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: segformer-b0_DsApollo_ILT
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # segformer-b0_DsApollo_ILT
15
+
16
+ This model is a fine-tuned version of [ironchanchellor/segformer-b0_DsA](https://huggingface.co/ironchanchellor/segformer-b0_DsA) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 0.0116
19
+ - Mean Iou: 0.7963
20
+ - Mean Accuracy: 0.9731
21
+ - Overall Accuracy: 0.9942
22
+ - Accuracy Background: nan
23
+ - Accuracy Haz: 0.9965
24
+ - Accuracy Matrix: 0.9883
25
+ - Accuracy Porosity: 0.9077
26
+ - Accuracy Carbides: 0.9757
27
+ - Accuracy Substrate: 0.9970
28
+ - Iou Background: 0.0
29
+ - Iou Haz: 0.9932
30
+ - Iou Matrix: 0.9767
31
+ - Iou Porosity: 0.8590
32
+ - Iou Carbides: 0.9547
33
+ - Iou Substrate: 0.9942
34
+
35
+ ## Model description
36
+
37
+ More information needed
38
+
39
+ ## Intended uses & limitations
40
+
41
+ More information needed
42
+
43
+ ## Training and evaluation data
44
+
45
+ More information needed
46
+
47
+ ## Training procedure
48
+
49
+ ### Training hyperparameters
50
+
51
+ The following hyperparameters were used during training:
52
+ - learning_rate: 6e-05
53
+ - train_batch_size: 4
54
+ - eval_batch_size: 4
55
+ - seed: 42
56
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
57
+ - lr_scheduler_type: linear
58
+ - num_epochs: 10
59
+
60
+ ### Training results
61
+
62
+ | Training Loss | Epoch | Step | Validation Loss | Mean Iou | Mean Accuracy | Overall Accuracy | Accuracy Background | Accuracy Haz | Accuracy Matrix | Accuracy Porosity | Accuracy Carbides | Accuracy Substrate | Iou Background | Iou Haz | Iou Matrix | Iou Porosity | Iou Carbides | Iou Substrate |
63
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:-------------:|:----------------:|:-------------------:|:------------:|:---------------:|:-----------------:|:-----------------:|:------------------:|:--------------:|:-------:|:----------:|:------------:|:------------:|:-------------:|
64
+ | 0.2652 | 1.0 | 591 | 0.0181 | 0.7893 | 0.9731 | 0.9914 | nan | 0.9952 | 0.9836 | 0.9148 | 0.9794 | 0.9926 | 0.0 | 0.9872 | 0.9741 | 0.8340 | 0.9516 | 0.9886 |
65
+ | 0.0167 | 2.0 | 1182 | 0.0196 | 0.7899 | 0.9662 | 0.9920 | nan | 0.9919 | 0.9849 | 0.8780 | 0.9793 | 0.9967 | 0.0 | 0.9884 | 0.9746 | 0.8346 | 0.9522 | 0.9899 |
66
+ | 0.0272 | 3.0 | 1773 | 0.0152 | 0.7895 | 0.9652 | 0.9923 | nan | 0.9970 | 0.9906 | 0.8787 | 0.9672 | 0.9926 | 0.0 | 0.9890 | 0.9753 | 0.8311 | 0.9512 | 0.9903 |
67
+ | 0.0117 | 4.0 | 2364 | 0.0131 | 0.7924 | 0.9663 | 0.9933 | nan | 0.9951 | 0.9902 | 0.8801 | 0.9698 | 0.9966 | 0.0 | 0.9912 | 0.9759 | 0.8425 | 0.9524 | 0.9924 |
68
+ | 0.0176 | 5.0 | 2955 | 0.0160 | 0.7919 | 0.9658 | 0.9930 | nan | 0.9939 | 0.9871 | 0.8731 | 0.9780 | 0.9968 | 0.0 | 0.9903 | 0.9760 | 0.8396 | 0.9536 | 0.9916 |
69
+ | 0.0772 | 6.0 | 3546 | 0.0125 | 0.7928 | 0.9671 | 0.9937 | nan | 0.9949 | 0.9858 | 0.8767 | 0.9804 | 0.9976 | 0.0 | 0.9922 | 0.9760 | 0.8419 | 0.9535 | 0.9933 |
70
+ | 0.0568 | 7.0 | 4137 | 0.0126 | 0.7950 | 0.9697 | 0.9937 | nan | 0.9978 | 0.9895 | 0.8933 | 0.9735 | 0.9946 | 0.0 | 0.9920 | 0.9766 | 0.8540 | 0.9540 | 0.9931 |
71
+ | 0.0228 | 8.0 | 4728 | 0.0158 | 0.7956 | 0.9766 | 0.9934 | nan | 0.9933 | 0.9882 | 0.9283 | 0.9749 | 0.9980 | 0.0 | 0.9911 | 0.9766 | 0.8591 | 0.9543 | 0.9923 |
72
+ | 0.0058 | 9.0 | 5319 | 0.0120 | 0.7960 | 0.9731 | 0.9940 | nan | 0.9958 | 0.9873 | 0.9068 | 0.9782 | 0.9972 | 0.0 | 0.9927 | 0.9766 | 0.8580 | 0.9547 | 0.9938 |
73
+ | 0.0038 | 10.0 | 5910 | 0.0116 | 0.7963 | 0.9731 | 0.9942 | nan | 0.9965 | 0.9883 | 0.9077 | 0.9757 | 0.9970 | 0.0 | 0.9932 | 0.9767 | 0.8590 | 0.9547 | 0.9942 |
74
+
75
+
76
+ ### Framework versions
77
+
78
+ - Transformers 4.35.2
79
+ - Pytorch 2.1.0+cu118
80
+ - Datasets 2.15.0
81
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "ironchanchellor/segformer-b0_DsA",
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": "background",
32
+ "1": "HAZ",
33
+ "2": "matrix",
34
+ "3": "porosity",
35
+ "4": "carbides",
36
+ "5": "substrate"
37
+ },
38
+ "image_size": 224,
39
+ "initializer_range": 0.02,
40
+ "label2id": {
41
+ "HAZ": 1,
42
+ "background": 0,
43
+ "carbides": 4,
44
+ "matrix": 2,
45
+ "porosity": 3,
46
+ "substrate": 5
47
+ },
48
+ "layer_norm_eps": 1e-06,
49
+ "mlp_ratios": [
50
+ 4,
51
+ 4,
52
+ 4,
53
+ 4
54
+ ],
55
+ "model_type": "segformer",
56
+ "num_attention_heads": [
57
+ 1,
58
+ 2,
59
+ 5,
60
+ 8
61
+ ],
62
+ "num_channels": 3,
63
+ "num_encoder_blocks": 4,
64
+ "patch_sizes": [
65
+ 7,
66
+ 3,
67
+ 3,
68
+ 3
69
+ ],
70
+ "reshape_last_stage": true,
71
+ "semantic_loss_ignore_index": 255,
72
+ "sr_ratios": [
73
+ 8,
74
+ 4,
75
+ 2,
76
+ 1
77
+ ],
78
+ "strides": [
79
+ 4,
80
+ 2,
81
+ 2,
82
+ 2
83
+ ],
84
+ "torch_dtype": "float32",
85
+ "transformers_version": "4.35.2"
86
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b42aedc80265136a16cb8d93edaff88e695b33737fe045f92416db8f32d0b5c
3
+ size 14888896
runs/Dec05_00-14-10_795d83a2911f/events.out.tfevents.1701735262.795d83a2911f.2163.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ccfb768070989fe3c0c41eb77d891caa69fcf7a349ef5511599572c7be161f3
3
+ size 944063
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e860083a1264dbb0ed0fe42355c7a16f2598d5de3fedeb8bd4710cea53959cfb
3
+ size 4600