Training in progress, epoch 0
Browse files- README.md +53 -0
- config.json +195 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- runs/Jul26_13-34-10_8fdbc48f1fcc/events.out.tfevents.1722001566.8fdbc48f1fcc.800.0 +3 -0
- runs/Jul26_13-34-10_8fdbc48f1fcc/events.out.tfevents.1722003249.8fdbc48f1fcc.800.1 +3 -0
- runs/Jul26_14-17-22_8fdbc48f1fcc/events.out.tfevents.1722003454.8fdbc48f1fcc.800.2 +3 -0
- runs/Jul26_14-22-47_8fdbc48f1fcc/events.out.tfevents.1722003862.8fdbc48f1fcc.800.3 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: microsoft/swin-tiny-patch4-window7-224
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
model-index:
|
9 |
+
- name: swin-tiny-patch4-window7-224-finetuned-bootcamp
|
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 |
+
# swin-tiny-patch4-window7-224-finetuned-bootcamp
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on the imagefolder dataset.
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 5e-05
|
38 |
+
- train_batch_size: 32
|
39 |
+
- eval_batch_size: 32
|
40 |
+
- seed: 42
|
41 |
+
- gradient_accumulation_steps: 4
|
42 |
+
- total_train_batch_size: 128
|
43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
+
- lr_scheduler_type: linear
|
45 |
+
- lr_scheduler_warmup_ratio: 0.1
|
46 |
+
- num_epochs: 100
|
47 |
+
|
48 |
+
### Framework versions
|
49 |
+
|
50 |
+
- Transformers 4.42.4
|
51 |
+
- Pytorch 2.3.1+cu121
|
52 |
+
- Datasets 2.20.0
|
53 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,195 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/swin-tiny-patch4-window7-224",
|
3 |
+
"architectures": [
|
4 |
+
"SwinForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"depths": [
|
8 |
+
2,
|
9 |
+
2,
|
10 |
+
6,
|
11 |
+
2
|
12 |
+
],
|
13 |
+
"drop_path_rate": 0.1,
|
14 |
+
"embed_dim": 96,
|
15 |
+
"encoder_stride": 32,
|
16 |
+
"hidden_act": "gelu",
|
17 |
+
"hidden_dropout_prob": 0.0,
|
18 |
+
"hidden_size": 768,
|
19 |
+
"id2label": {
|
20 |
+
"0": "corrugation",
|
21 |
+
"1": "corrugation flaking_multiple squat",
|
22 |
+
"2": "corrugation spalling",
|
23 |
+
"3": "crack",
|
24 |
+
"4": "crack flaking spalling",
|
25 |
+
"5": "crack flaking spalling_multiple",
|
26 |
+
"6": "crack flaking spalling_multiple squat",
|
27 |
+
"7": "crack flaking_multiple",
|
28 |
+
"8": "crack flaking_multiple spalling squat",
|
29 |
+
"9": "crack flaking_multiple spalling_multiple",
|
30 |
+
"10": "crack flaking_multiple spalling_multiple squat",
|
31 |
+
"11": "crack flaking_multiple spalling_multiple squat_multiple",
|
32 |
+
"12": "crack flaking_multiple squat",
|
33 |
+
"13": "crack spalling",
|
34 |
+
"14": "crack spalling squat",
|
35 |
+
"15": "crack spalling_multiple",
|
36 |
+
"16": "crack spalling_multiple squat",
|
37 |
+
"17": "crack spalling_multiple squat_multiple",
|
38 |
+
"18": "crack squat",
|
39 |
+
"19": "crack_multiple",
|
40 |
+
"20": "crack_multiple flaking spalling squat",
|
41 |
+
"21": "crack_multiple flaking spalling squat_multiple",
|
42 |
+
"22": "crack_multiple flaking spalling_multiple",
|
43 |
+
"23": "crack_multiple flaking spalling_multiple squat",
|
44 |
+
"24": "crack_multiple flaking spalling_multiple squat_multiple",
|
45 |
+
"25": "crack_multiple flaking_multiple",
|
46 |
+
"26": "crack_multiple flaking_multiple spalling",
|
47 |
+
"27": "crack_multiple flaking_multiple spalling squat",
|
48 |
+
"28": "crack_multiple flaking_multiple spalling squat_multiple",
|
49 |
+
"29": "crack_multiple flaking_multiple spalling_multiple",
|
50 |
+
"30": "crack_multiple flaking_multiple spalling_multiple squat",
|
51 |
+
"31": "crack_multiple flaking_multiple spalling_multiple squat_multiple",
|
52 |
+
"32": "crack_multiple flaking_multiple squat",
|
53 |
+
"33": "crack_multiple spalling",
|
54 |
+
"34": "crack_multiple spalling squat",
|
55 |
+
"35": "crack_multiple spalling squat_multiple",
|
56 |
+
"36": "crack_multiple spalling_multiple",
|
57 |
+
"37": "crack_multiple spalling_multiple squat",
|
58 |
+
"38": "crack_multiple spalling_multiple squat_multiple",
|
59 |
+
"39": "crack_multiple squat",
|
60 |
+
"40": "crack_multiple squat_multiple",
|
61 |
+
"41": "empty",
|
62 |
+
"42": "flaking",
|
63 |
+
"43": "flaking putus spalling_multiple",
|
64 |
+
"44": "flaking spalling",
|
65 |
+
"45": "flaking spalling squat",
|
66 |
+
"46": "flaking spalling_multiple",
|
67 |
+
"47": "flaking spalling_multiple squat",
|
68 |
+
"48": "flaking squat",
|
69 |
+
"49": "flaking squat_multiple",
|
70 |
+
"50": "flaking_multiple",
|
71 |
+
"51": "flaking_multiple spalling",
|
72 |
+
"52": "flaking_multiple spalling squat",
|
73 |
+
"53": "flaking_multiple spalling squat_multiple",
|
74 |
+
"54": "flaking_multiple spalling_multiple",
|
75 |
+
"55": "flaking_multiple spalling_multiple squat",
|
76 |
+
"56": "flaking_multiple spalling_multiple squat_multiple",
|
77 |
+
"57": "flaking_multiple squat",
|
78 |
+
"58": "flaking_multiple squat_multiple",
|
79 |
+
"59": "putus",
|
80 |
+
"60": "putus spalling_multiple",
|
81 |
+
"61": "spalling",
|
82 |
+
"62": "spalling squat",
|
83 |
+
"63": "spalling squat_multiple",
|
84 |
+
"64": "spalling_multiple",
|
85 |
+
"65": "spalling_multiple squat",
|
86 |
+
"66": "spalling_multiple squat_multiple",
|
87 |
+
"67": "squat",
|
88 |
+
"68": "squat_multiple"
|
89 |
+
},
|
90 |
+
"image_size": 224,
|
91 |
+
"initializer_range": 0.02,
|
92 |
+
"label2id": {
|
93 |
+
"corrugation": 0,
|
94 |
+
"corrugation flaking_multiple squat": 1,
|
95 |
+
"corrugation spalling": 2,
|
96 |
+
"crack": 3,
|
97 |
+
"crack flaking spalling": 4,
|
98 |
+
"crack flaking spalling_multiple": 5,
|
99 |
+
"crack flaking spalling_multiple squat": 6,
|
100 |
+
"crack flaking_multiple": 7,
|
101 |
+
"crack flaking_multiple spalling squat": 8,
|
102 |
+
"crack flaking_multiple spalling_multiple": 9,
|
103 |
+
"crack flaking_multiple spalling_multiple squat": 10,
|
104 |
+
"crack flaking_multiple spalling_multiple squat_multiple": 11,
|
105 |
+
"crack flaking_multiple squat": 12,
|
106 |
+
"crack spalling": 13,
|
107 |
+
"crack spalling squat": 14,
|
108 |
+
"crack spalling_multiple": 15,
|
109 |
+
"crack spalling_multiple squat": 16,
|
110 |
+
"crack spalling_multiple squat_multiple": 17,
|
111 |
+
"crack squat": 18,
|
112 |
+
"crack_multiple": 19,
|
113 |
+
"crack_multiple flaking spalling squat": 20,
|
114 |
+
"crack_multiple flaking spalling squat_multiple": 21,
|
115 |
+
"crack_multiple flaking spalling_multiple": 22,
|
116 |
+
"crack_multiple flaking spalling_multiple squat": 23,
|
117 |
+
"crack_multiple flaking spalling_multiple squat_multiple": 24,
|
118 |
+
"crack_multiple flaking_multiple": 25,
|
119 |
+
"crack_multiple flaking_multiple spalling": 26,
|
120 |
+
"crack_multiple flaking_multiple spalling squat": 27,
|
121 |
+
"crack_multiple flaking_multiple spalling squat_multiple": 28,
|
122 |
+
"crack_multiple flaking_multiple spalling_multiple": 29,
|
123 |
+
"crack_multiple flaking_multiple spalling_multiple squat": 30,
|
124 |
+
"crack_multiple flaking_multiple spalling_multiple squat_multiple": 31,
|
125 |
+
"crack_multiple flaking_multiple squat": 32,
|
126 |
+
"crack_multiple spalling": 33,
|
127 |
+
"crack_multiple spalling squat": 34,
|
128 |
+
"crack_multiple spalling squat_multiple": 35,
|
129 |
+
"crack_multiple spalling_multiple": 36,
|
130 |
+
"crack_multiple spalling_multiple squat": 37,
|
131 |
+
"crack_multiple spalling_multiple squat_multiple": 38,
|
132 |
+
"crack_multiple squat": 39,
|
133 |
+
"crack_multiple squat_multiple": 40,
|
134 |
+
"empty": 41,
|
135 |
+
"flaking": 42,
|
136 |
+
"flaking putus spalling_multiple": 43,
|
137 |
+
"flaking spalling": 44,
|
138 |
+
"flaking spalling squat": 45,
|
139 |
+
"flaking spalling_multiple": 46,
|
140 |
+
"flaking spalling_multiple squat": 47,
|
141 |
+
"flaking squat": 48,
|
142 |
+
"flaking squat_multiple": 49,
|
143 |
+
"flaking_multiple": 50,
|
144 |
+
"flaking_multiple spalling": 51,
|
145 |
+
"flaking_multiple spalling squat": 52,
|
146 |
+
"flaking_multiple spalling squat_multiple": 53,
|
147 |
+
"flaking_multiple spalling_multiple": 54,
|
148 |
+
"flaking_multiple spalling_multiple squat": 55,
|
149 |
+
"flaking_multiple spalling_multiple squat_multiple": 56,
|
150 |
+
"flaking_multiple squat": 57,
|
151 |
+
"flaking_multiple squat_multiple": 58,
|
152 |
+
"putus": 59,
|
153 |
+
"putus spalling_multiple": 60,
|
154 |
+
"spalling": 61,
|
155 |
+
"spalling squat": 62,
|
156 |
+
"spalling squat_multiple": 63,
|
157 |
+
"spalling_multiple": 64,
|
158 |
+
"spalling_multiple squat": 65,
|
159 |
+
"spalling_multiple squat_multiple": 66,
|
160 |
+
"squat": 67,
|
161 |
+
"squat_multiple": 68
|
162 |
+
},
|
163 |
+
"layer_norm_eps": 1e-05,
|
164 |
+
"mlp_ratio": 4.0,
|
165 |
+
"model_type": "swin",
|
166 |
+
"num_channels": 3,
|
167 |
+
"num_heads": [
|
168 |
+
3,
|
169 |
+
6,
|
170 |
+
12,
|
171 |
+
24
|
172 |
+
],
|
173 |
+
"num_layers": 4,
|
174 |
+
"out_features": [
|
175 |
+
"stage4"
|
176 |
+
],
|
177 |
+
"out_indices": [
|
178 |
+
4
|
179 |
+
],
|
180 |
+
"patch_size": 4,
|
181 |
+
"path_norm": true,
|
182 |
+
"problem_type": "single_label_classification",
|
183 |
+
"qkv_bias": true,
|
184 |
+
"stage_names": [
|
185 |
+
"stem",
|
186 |
+
"stage1",
|
187 |
+
"stage2",
|
188 |
+
"stage3",
|
189 |
+
"stage4"
|
190 |
+
],
|
191 |
+
"torch_dtype": "float32",
|
192 |
+
"transformers_version": "4.42.4",
|
193 |
+
"use_absolute_embeddings": false,
|
194 |
+
"window_size": 7
|
195 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:03010297efa080ed469e94d30e18aa1392d9155b4ce2977d277ed7c4e08374e2
|
3 |
+
size 110548940
|
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.485,
|
7 |
+
0.456,
|
8 |
+
0.406
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
11 |
+
"image_std": [
|
12 |
+
0.229,
|
13 |
+
0.224,
|
14 |
+
0.225
|
15 |
+
],
|
16 |
+
"resample": 3,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
runs/Jul26_13-34-10_8fdbc48f1fcc/events.out.tfevents.1722001566.8fdbc48f1fcc.800.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:88f1c2b19a6a8438464ca3134ac9f0cd1029ac8f2f5dfec4cb3c844288d5063a
|
3 |
+
size 22041
|
runs/Jul26_13-34-10_8fdbc48f1fcc/events.out.tfevents.1722003249.8fdbc48f1fcc.800.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7f3406d6e9909f2d910b98fea9041a988120f5a234ce8d413402e177788b61b8
|
3 |
+
size 11089
|
runs/Jul26_14-17-22_8fdbc48f1fcc/events.out.tfevents.1722003454.8fdbc48f1fcc.800.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a5ad8c4073504907c3688fd04dd1a6ad96126086f1acbf8ec976cd6e397f5214
|
3 |
+
size 11040
|
runs/Jul26_14-22-47_8fdbc48f1fcc/events.out.tfevents.1722003862.8fdbc48f1fcc.800.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7120f8be7187ba98a23a7d6a2419437fe006bb29476bb8e67fa8f06e4e945935
|
3 |
+
size 11357
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f0df11346845bea2dca137d887e7f2f7a2d5a0ee65a59f7bae06d8bf48c33e0
|
3 |
+
size 5176
|