End of training
Browse files- README.md +84 -0
- config.json +56 -0
- model.safetensors +3 -0
- preprocessor_config.json +17 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apple-amlr
|
4 |
+
base_model: apple/deeplabv3-mobilevit-small
|
5 |
+
tags:
|
6 |
+
- vision
|
7 |
+
- image-segmentation
|
8 |
+
- generated_from_trainer
|
9 |
+
model-index:
|
10 |
+
- name: deeplabv3-mobilevit-small_corm
|
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 |
+
# deeplabv3-mobilevit-small_corm
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [apple/deeplabv3-mobilevit-small](https://huggingface.co/apple/deeplabv3-mobilevit-small) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.7777
|
22 |
+
- Mean Iou: 0.4137
|
23 |
+
- Mean Accuracy: 0.5038
|
24 |
+
- Overall Accuracy: 0.7714
|
25 |
+
- Accuracy Background: 0.9998
|
26 |
+
- Accuracy Corm: 0.0748
|
27 |
+
- Accuracy Damage: 0.4368
|
28 |
+
- Iou Background: 0.7626
|
29 |
+
- Iou Corm: 0.0734
|
30 |
+
- Iou Damage: 0.4050
|
31 |
+
|
32 |
+
## Model description
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Intended uses & limitations
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training and evaluation data
|
41 |
+
|
42 |
+
More information needed
|
43 |
+
|
44 |
+
## Training procedure
|
45 |
+
|
46 |
+
### Training hyperparameters
|
47 |
+
|
48 |
+
The following hyperparameters were used during training:
|
49 |
+
- learning_rate: 6e-05
|
50 |
+
- train_batch_size: 4
|
51 |
+
- eval_batch_size: 4
|
52 |
+
- seed: 42
|
53 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
54 |
+
- lr_scheduler_type: linear
|
55 |
+
- num_epochs: 5
|
56 |
+
|
57 |
+
### Training results
|
58 |
+
|
59 |
+
| Training Loss | Epoch | Step | Validation Loss | Mean Iou | Mean Accuracy | Overall Accuracy | Accuracy Background | Accuracy Corm | Accuracy Damage | Iou Background | Iou Corm | Iou Damage |
|
60 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|:-------------:|:----------------:|:-------------------:|:-------------:|:---------------:|:--------------:|:--------:|:----------:|
|
61 |
+
| 1.0611 | 0.3077 | 20 | 1.0627 | 0.4251 | 0.6398 | 0.6594 | 0.6709 | 0.5632 | 0.6853 | 0.6508 | 0.2723 | 0.3522 |
|
62 |
+
| 1.0077 | 0.6154 | 40 | 1.0227 | 0.5359 | 0.6715 | 0.8018 | 0.9058 | 0.4028 | 0.7060 | 0.8285 | 0.3049 | 0.4743 |
|
63 |
+
| 1.0089 | 0.9231 | 60 | 0.9859 | 0.5131 | 0.6138 | 0.8167 | 0.9804 | 0.2104 | 0.6506 | 0.8345 | 0.1883 | 0.5167 |
|
64 |
+
| 0.9397 | 1.2308 | 80 | 0.9637 | 0.4767 | 0.5831 | 0.8103 | 0.9867 | 0.0722 | 0.6904 | 0.8293 | 0.0701 | 0.5307 |
|
65 |
+
| 0.9347 | 1.5385 | 100 | 0.9257 | 0.4544 | 0.5545 | 0.7991 | 0.9946 | 0.0517 | 0.6172 | 0.8103 | 0.0504 | 0.5024 |
|
66 |
+
| 0.9007 | 1.8462 | 120 | 0.9054 | 0.4458 | 0.5428 | 0.7926 | 0.9968 | 0.0678 | 0.5637 | 0.8012 | 0.0658 | 0.4705 |
|
67 |
+
| 0.8787 | 2.1538 | 140 | 0.8756 | 0.4195 | 0.5140 | 0.7780 | 0.9986 | 0.0506 | 0.4927 | 0.7790 | 0.0495 | 0.4301 |
|
68 |
+
| 0.8757 | 2.4615 | 160 | 0.8501 | 0.4035 | 0.4967 | 0.7677 | 0.9994 | 0.0659 | 0.4247 | 0.7656 | 0.0645 | 0.3804 |
|
69 |
+
| 0.841 | 2.7692 | 180 | 0.8339 | 0.4199 | 0.5148 | 0.7799 | 0.9987 | 0.0283 | 0.5174 | 0.7791 | 0.0279 | 0.4528 |
|
70 |
+
| 0.8268 | 3.0769 | 200 | 0.8246 | 0.4358 | 0.5279 | 0.7844 | 0.9989 | 0.0809 | 0.5040 | 0.7826 | 0.0789 | 0.4460 |
|
71 |
+
| 0.8306 | 3.3846 | 220 | 0.8095 | 0.4034 | 0.4968 | 0.7690 | 0.9995 | 0.0461 | 0.4448 | 0.7653 | 0.0455 | 0.3995 |
|
72 |
+
| 0.826 | 3.6923 | 240 | 0.7928 | 0.4174 | 0.5078 | 0.7731 | 0.9997 | 0.0846 | 0.4391 | 0.7663 | 0.0826 | 0.4034 |
|
73 |
+
| 0.7873 | 4.0 | 260 | 0.7915 | 0.4150 | 0.5046 | 0.7713 | 0.9996 | 0.0842 | 0.4299 | 0.7616 | 0.0824 | 0.4009 |
|
74 |
+
| 0.8031 | 4.3077 | 280 | 0.7805 | 0.4022 | 0.4928 | 0.7648 | 0.9998 | 0.0826 | 0.3960 | 0.7557 | 0.0811 | 0.3699 |
|
75 |
+
| 0.7881 | 4.6154 | 300 | 0.7791 | 0.4352 | 0.5265 | 0.7848 | 0.9995 | 0.0659 | 0.5142 | 0.7808 | 0.0645 | 0.4604 |
|
76 |
+
| 0.7883 | 4.9231 | 320 | 0.7777 | 0.4137 | 0.5038 | 0.7714 | 0.9998 | 0.0748 | 0.4368 | 0.7626 | 0.0734 | 0.4050 |
|
77 |
+
|
78 |
+
|
79 |
+
### Framework versions
|
80 |
+
|
81 |
+
- Transformers 4.44.1
|
82 |
+
- Pytorch 2.6.0+cpu
|
83 |
+
- Datasets 2.21.0
|
84 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "apple/deeplabv3-mobilevit-small",
|
3 |
+
"architectures": [
|
4 |
+
"MobileViTForSemanticSegmentation"
|
5 |
+
],
|
6 |
+
"aspp_dropout_prob": 0.1,
|
7 |
+
"aspp_out_channels": 256,
|
8 |
+
"atrous_rates": [
|
9 |
+
6,
|
10 |
+
12,
|
11 |
+
18
|
12 |
+
],
|
13 |
+
"attention_probs_dropout_prob": 0.0,
|
14 |
+
"classifier_dropout_prob": 0.1,
|
15 |
+
"conv_kernel_size": 3,
|
16 |
+
"expand_ratio": 4.0,
|
17 |
+
"hidden_act": "silu",
|
18 |
+
"hidden_dropout_prob": 0.1,
|
19 |
+
"hidden_sizes": [
|
20 |
+
144,
|
21 |
+
192,
|
22 |
+
240
|
23 |
+
],
|
24 |
+
"id2label": {
|
25 |
+
"0": "background",
|
26 |
+
"1": "corm",
|
27 |
+
"2": "damage"
|
28 |
+
},
|
29 |
+
"image_size": 512,
|
30 |
+
"initializer_range": 0.02,
|
31 |
+
"label2id": {
|
32 |
+
"background": 0,
|
33 |
+
"corm": 1,
|
34 |
+
"damage": 2
|
35 |
+
},
|
36 |
+
"layer_norm_eps": 1e-05,
|
37 |
+
"mlp_ratio": 2.0,
|
38 |
+
"model_type": "mobilevit",
|
39 |
+
"neck_hidden_sizes": [
|
40 |
+
16,
|
41 |
+
32,
|
42 |
+
64,
|
43 |
+
96,
|
44 |
+
128,
|
45 |
+
160,
|
46 |
+
640
|
47 |
+
],
|
48 |
+
"num_attention_heads": 4,
|
49 |
+
"num_channels": 3,
|
50 |
+
"output_stride": 16,
|
51 |
+
"patch_size": 2,
|
52 |
+
"qkv_bias": true,
|
53 |
+
"semantic_loss_ignore_index": 255,
|
54 |
+
"torch_dtype": "float32",
|
55 |
+
"transformers_version": "4.44.1"
|
56 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed7343b02e0ac4950adf1da77f825a694fbe3515aff827380506b6373718b77e
|
3 |
+
size 25520068
|
preprocessor_config.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": {
|
3 |
+
"height": 512,
|
4 |
+
"width": 512
|
5 |
+
},
|
6 |
+
"do_center_crop": true,
|
7 |
+
"do_flip_channel_order": true,
|
8 |
+
"do_flip_channels": true,
|
9 |
+
"do_rescale": true,
|
10 |
+
"do_resize": true,
|
11 |
+
"image_processor_type": "MobileViTFeatureExtractor",
|
12 |
+
"resample": 2,
|
13 |
+
"rescale_factor": 0.00392156862745098,
|
14 |
+
"size": {
|
15 |
+
"shortest_edge": 544
|
16 |
+
}
|
17 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:808469b69f8382d03acc552fab3a6cc180912977d4b9d2a7a8f6980b9a245892
|
3 |
+
size 5240
|