neuralhaven
commited on
Commit
•
9deadf1
1
Parent(s):
45bf468
neuralhaven/tinyvit2mobilevitxxs_FT
Browse files- README.md +75 -0
- config.json +141 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- runs/Sep12_09-43-47_fea55ff8682c/events.out.tfevents.1726134228.fea55ff8682c.36.0 +3 -0
- runs/Sep12_09-55-01_fea55ff8682c/events.out.tfevents.1726134902.fea55ff8682c.166.0 +3 -0
- runs/Sep12_10-00-25_fea55ff8682c/events.out.tfevents.1726135226.fea55ff8682c.249.0 +3 -0
- runs/Sep12_10-10-52_fea55ff8682c/events.out.tfevents.1726135853.fea55ff8682c.333.0 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
base_model: neuralhaven/KDRSSC_TinyViT2MobileViT-xx-small
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- precision
|
9 |
+
- recall
|
10 |
+
- f1
|
11 |
+
model-index:
|
12 |
+
- name: KDRSSC_TinyViT2MobileViT-xx-small-RESISC45_01
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# KDRSSC_TinyViT2MobileViT-xx-small-RESISC45_01
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [neuralhaven/KDRSSC_TinyViT2MobileViT-xx-small](https://huggingface.co/neuralhaven/KDRSSC_TinyViT2MobileViT-xx-small) on an unknown dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.5369
|
24 |
+
- Accuracy: 0.8510
|
25 |
+
- Precision: 0.8555
|
26 |
+
- Recall: 0.8522
|
27 |
+
- F1: 0.8521
|
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: 0.0005
|
47 |
+
- train_batch_size: 256
|
48 |
+
- eval_batch_size: 256
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 10
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
58 |
+
| 1.1561 | 1.0 | 20 | 0.8622 | 0.7856 | 0.8025 | 0.7860 | 0.7842 |
|
59 |
+
| 0.9463 | 2.0 | 40 | 0.7009 | 0.8127 | 0.8247 | 0.8136 | 0.8142 |
|
60 |
+
| 0.7867 | 3.0 | 60 | 0.7666 | 0.7817 | 0.8076 | 0.7824 | 0.7819 |
|
61 |
+
| 0.7504 | 4.0 | 80 | 0.6580 | 0.8203 | 0.8240 | 0.8214 | 0.8194 |
|
62 |
+
| 0.7147 | 5.0 | 100 | 0.6410 | 0.8208 | 0.8348 | 0.8204 | 0.8221 |
|
63 |
+
| 0.6715 | 6.0 | 120 | 0.5923 | 0.8343 | 0.8390 | 0.8360 | 0.8356 |
|
64 |
+
| 0.6114 | 7.0 | 140 | 0.5965 | 0.8321 | 0.8415 | 0.8338 | 0.8330 |
|
65 |
+
| 0.6041 | 8.0 | 160 | 0.5625 | 0.8440 | 0.8522 | 0.8448 | 0.8456 |
|
66 |
+
| 0.5449 | 9.0 | 180 | 0.5466 | 0.8457 | 0.8508 | 0.8470 | 0.8472 |
|
67 |
+
| 0.5607 | 10.0 | 200 | 0.5369 | 0.8510 | 0.8555 | 0.8522 | 0.8521 |
|
68 |
+
|
69 |
+
|
70 |
+
### Framework versions
|
71 |
+
|
72 |
+
- Transformers 4.44.0
|
73 |
+
- Pytorch 2.4.0
|
74 |
+
- Datasets 2.21.0
|
75 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "neuralhaven/KDRSSC_TinyViT2MobileViT-xx-small",
|
3 |
+
"architectures": [
|
4 |
+
"MobileViTForImageClassification"
|
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": 2.0,
|
17 |
+
"hidden_act": "silu",
|
18 |
+
"hidden_dropout_prob": 0.05,
|
19 |
+
"hidden_sizes": [
|
20 |
+
64,
|
21 |
+
80,
|
22 |
+
96
|
23 |
+
],
|
24 |
+
"id2label": {
|
25 |
+
"0": "airplane",
|
26 |
+
"1": "airport",
|
27 |
+
"2": "baseball_diamond",
|
28 |
+
"3": "basketball_court",
|
29 |
+
"4": "beach",
|
30 |
+
"5": "bridge",
|
31 |
+
"6": "chaparral",
|
32 |
+
"7": "church",
|
33 |
+
"8": "circular_farmland",
|
34 |
+
"9": "cloud",
|
35 |
+
"10": "commercial_area",
|
36 |
+
"11": "dense_residential",
|
37 |
+
"12": "desert",
|
38 |
+
"13": "forest",
|
39 |
+
"14": "freeway",
|
40 |
+
"15": "golf_course",
|
41 |
+
"16": "ground_track_field",
|
42 |
+
"17": "harbor",
|
43 |
+
"18": "industrial_area",
|
44 |
+
"19": "intersection",
|
45 |
+
"20": "island",
|
46 |
+
"21": "lake",
|
47 |
+
"22": "meadow",
|
48 |
+
"23": "medium_residential",
|
49 |
+
"24": "mobile_home_park",
|
50 |
+
"25": "mountain",
|
51 |
+
"26": "overpass",
|
52 |
+
"27": "palace",
|
53 |
+
"28": "parking_lot",
|
54 |
+
"29": "railway",
|
55 |
+
"30": "railway_station",
|
56 |
+
"31": "rectangular_farmland",
|
57 |
+
"32": "river",
|
58 |
+
"33": "roundabout",
|
59 |
+
"34": "runway",
|
60 |
+
"35": "sea_ice",
|
61 |
+
"36": "ship",
|
62 |
+
"37": "snowberg",
|
63 |
+
"38": "sparse_residential",
|
64 |
+
"39": "stadium",
|
65 |
+
"40": "storage_tank",
|
66 |
+
"41": "tennis_court",
|
67 |
+
"42": "terrace",
|
68 |
+
"43": "thermal_power_station",
|
69 |
+
"44": "wetland"
|
70 |
+
},
|
71 |
+
"image_size": 256,
|
72 |
+
"initializer_range": 0.02,
|
73 |
+
"label2id": {
|
74 |
+
"airplane": 0,
|
75 |
+
"airport": 1,
|
76 |
+
"baseball_diamond": 2,
|
77 |
+
"basketball_court": 3,
|
78 |
+
"beach": 4,
|
79 |
+
"bridge": 5,
|
80 |
+
"chaparral": 6,
|
81 |
+
"church": 7,
|
82 |
+
"circular_farmland": 8,
|
83 |
+
"cloud": 9,
|
84 |
+
"commercial_area": 10,
|
85 |
+
"dense_residential": 11,
|
86 |
+
"desert": 12,
|
87 |
+
"forest": 13,
|
88 |
+
"freeway": 14,
|
89 |
+
"golf_course": 15,
|
90 |
+
"ground_track_field": 16,
|
91 |
+
"harbor": 17,
|
92 |
+
"industrial_area": 18,
|
93 |
+
"intersection": 19,
|
94 |
+
"island": 20,
|
95 |
+
"lake": 21,
|
96 |
+
"meadow": 22,
|
97 |
+
"medium_residential": 23,
|
98 |
+
"mobile_home_park": 24,
|
99 |
+
"mountain": 25,
|
100 |
+
"overpass": 26,
|
101 |
+
"palace": 27,
|
102 |
+
"parking_lot": 28,
|
103 |
+
"railway": 29,
|
104 |
+
"railway_station": 30,
|
105 |
+
"rectangular_farmland": 31,
|
106 |
+
"river": 32,
|
107 |
+
"roundabout": 33,
|
108 |
+
"runway": 34,
|
109 |
+
"sea_ice": 35,
|
110 |
+
"ship": 36,
|
111 |
+
"snowberg": 37,
|
112 |
+
"sparse_residential": 38,
|
113 |
+
"stadium": 39,
|
114 |
+
"storage_tank": 40,
|
115 |
+
"tennis_court": 41,
|
116 |
+
"terrace": 42,
|
117 |
+
"thermal_power_station": 43,
|
118 |
+
"wetland": 44
|
119 |
+
},
|
120 |
+
"layer_norm_eps": 1e-05,
|
121 |
+
"mlp_ratio": 2.0,
|
122 |
+
"model_type": "mobilevit",
|
123 |
+
"neck_hidden_sizes": [
|
124 |
+
16,
|
125 |
+
16,
|
126 |
+
24,
|
127 |
+
48,
|
128 |
+
64,
|
129 |
+
80,
|
130 |
+
320
|
131 |
+
],
|
132 |
+
"num_attention_heads": 4,
|
133 |
+
"num_channels": 3,
|
134 |
+
"output_stride": 32,
|
135 |
+
"patch_size": 2,
|
136 |
+
"problem_type": "single_label_classification",
|
137 |
+
"qkv_bias": true,
|
138 |
+
"semantic_loss_ignore_index": 255,
|
139 |
+
"torch_dtype": "float32",
|
140 |
+
"transformers_version": "4.44.0"
|
141 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:41d5d2b3a9aa76dd85166a56334c8954572aa4fe288dfceb5f77a56b32c7c809
|
3 |
+
size 3924580
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.5,
|
7 |
+
0.5,
|
8 |
+
0.5
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
11 |
+
"image_std": [
|
12 |
+
0.5,
|
13 |
+
0.5,
|
14 |
+
0.5
|
15 |
+
],
|
16 |
+
"resample": 2,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
runs/Sep12_09-43-47_fea55ff8682c/events.out.tfevents.1726134228.fea55ff8682c.36.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bb2e39f5b872801f8e8df5e9ce84ebd2bca2b43d454f432675505efdfcccf171
|
3 |
+
size 7403
|
runs/Sep12_09-55-01_fea55ff8682c/events.out.tfevents.1726134902.fea55ff8682c.166.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5b95418f37d1a090fb8356e85f7d632cba0a44230435f2ac602f83af257d24be
|
3 |
+
size 14262
|
runs/Sep12_10-00-25_fea55ff8682c/events.out.tfevents.1726135226.fea55ff8682c.249.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1c4bd42499999b8ad994355583edc92941b1047a8d38b8f3cc69f99f2334cd14
|
3 |
+
size 16595
|
runs/Sep12_10-10-52_fea55ff8682c/events.out.tfevents.1726135853.fea55ff8682c.333.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a4c3233bf09c83320f27062a5d3f99b30a2da64769151e975e7e089b919805c7
|
3 |
+
size 16596
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:65f44a8a324cc36a0f046ac50bfbc7b134e848ec4fcb26724e6a4e7257e9a7b8
|
3 |
+
size 5304
|