mujerry commited on
Commit
dab4a1f
·
verified ·
1 Parent(s): 06337b6

End of training

Browse files
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: other
4
+ base_model: nvidia/mit-b0
5
+ tags:
6
+ - vision
7
+ - image-segmentation
8
+ - generated_from_trainer
9
+ model-index:
10
+ - name: mit-b0_whitefly
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # mit-b0_whitefly
18
+
19
+ This model is a fine-tuned version of [nvidia/mit-b0](https://huggingface.co/nvidia/mit-b0) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.2644
22
+ - Mean Iou: 0.4948
23
+ - Mean Accuracy: 0.4968
24
+ - Overall Accuracy: 0.9893
25
+ - Accuracy Background: 0.9907
26
+ - Accuracy Whitefly: 0.0029
27
+ - Iou Background: 0.9893
28
+ - Iou Whitefly: 0.0004
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 6e-05
48
+ - train_batch_size: 16
49
+ - eval_batch_size: 16
50
+ - seed: 42
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - lr_scheduler_warmup_ratio: 0.05
54
+ - num_epochs: 3
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Mean Iou | Mean Accuracy | Overall Accuracy | Accuracy Background | Accuracy Whitefly | Iou Background | Iou Whitefly |
59
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:-------------:|:----------------:|:-------------------:|:-----------------:|:--------------:|:------------:|
60
+ | 0.6275 | 0.4 | 20 | 0.6849 | 0.3529 | 0.4550 | 0.7049 | 0.7056 | 0.2044 | 0.7048 | 0.0010 |
61
+ | 0.4423 | 0.8 | 40 | 0.5826 | 0.4745 | 0.5157 | 0.9468 | 0.9480 | 0.0834 | 0.9468 | 0.0022 |
62
+ | 0.3793 | 1.2 | 60 | 0.4444 | 0.4868 | 0.4927 | 0.9731 | 0.9744 | 0.0110 | 0.9731 | 0.0006 |
63
+ | 0.3102 | 1.6 | 80 | 0.3347 | 0.4976 | 0.4986 | 0.9949 | 0.9963 | 0.0009 | 0.9949 | 0.0002 |
64
+ | 0.272 | 2.0 | 100 | 0.3100 | 0.4983 | 0.4991 | 0.9963 | 0.9977 | 0.0004 | 0.9963 | 0.0002 |
65
+ | 0.3003 | 2.4 | 120 | 0.2579 | 0.4983 | 0.4991 | 0.9965 | 0.9979 | 0.0003 | 0.9965 | 0.0001 |
66
+ | 0.2558 | 2.8 | 140 | 0.2644 | 0.4948 | 0.4968 | 0.9893 | 0.9907 | 0.0029 | 0.9893 | 0.0004 |
67
+
68
+
69
+ ### Framework versions
70
+
71
+ - Transformers 4.44.1
72
+ - Pytorch 2.6.0+cpu
73
+ - Datasets 2.21.0
74
+ - 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": "background",
32
+ "1": "whitefly"
33
+ },
34
+ "image_size": 224,
35
+ "initializer_range": 0.02,
36
+ "label2id": {
37
+ "background": 0,
38
+ "whitefly": 1
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.44.1"
78
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:69b74c437f212c5fc5e65b5c0389c6e6ec3a181c83d9f1f14952e8b346162258
3
+ size 14884776
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
+ }
runs/Apr03_21-09-07_LAPTOP-AKFGGHPG/events.out.tfevents.1743703765.LAPTOP-AKFGGHPG.182918.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fb0520ed724ebb255e38d80a72d1813b3f6e5f335ca268d9ca7282fb5bdf337
3
+ size 41596
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62757386e0c77499ac179d8d8db83c8e54623785789126c4cd0f6d96ef540a42
3
+ size 5240