PedroSampaio
commited on
Commit
•
1b54070
1
Parent(s):
2c5ddb0
Training in progress, epoch 1
Browse files- config.json +40 -11
- preprocessor_config.json +7 -7
- pytorch_model.bin +2 -2
- training_args.bin +1 -1
config.json
CHANGED
@@ -1,13 +1,21 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.0,
|
7 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
"hidden_act": "gelu",
|
9 |
"hidden_dropout_prob": 0.0,
|
10 |
-
"hidden_size":
|
11 |
"id2label": {
|
12 |
"0": "Apple Braeburn",
|
13 |
"1": "Apple Crimson Snow",
|
@@ -125,7 +133,6 @@
|
|
125 |
},
|
126 |
"image_size": 224,
|
127 |
"initializer_range": 0.02,
|
128 |
-
"intermediate_size": 3072,
|
129 |
"label2id": {
|
130 |
"Apple Braeburn": 0,
|
131 |
"Apple Crimson Snow": 1,
|
@@ -241,14 +248,36 @@
|
|
241 |
"Walnut": 111,
|
242 |
"Watermelon": 112
|
243 |
},
|
244 |
-
"layer_norm_eps": 1e-
|
245 |
-
"
|
246 |
-
"
|
247 |
"num_channels": 3,
|
248 |
-
"
|
249 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
250 |
"problem_type": "single_label_classification",
|
251 |
"qkv_bias": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
252 |
"torch_dtype": "float32",
|
253 |
-
"transformers_version": "4.34.1"
|
|
|
|
|
254 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "microsoft/swin-base-patch4-window7-224-in22k",
|
3 |
"architectures": [
|
4 |
+
"SwinForImageClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"depths": [
|
8 |
+
2,
|
9 |
+
2,
|
10 |
+
18,
|
11 |
+
2
|
12 |
+
],
|
13 |
+
"drop_path_rate": 0.1,
|
14 |
+
"embed_dim": 128,
|
15 |
+
"encoder_stride": 32,
|
16 |
"hidden_act": "gelu",
|
17 |
"hidden_dropout_prob": 0.0,
|
18 |
+
"hidden_size": 1024,
|
19 |
"id2label": {
|
20 |
"0": "Apple Braeburn",
|
21 |
"1": "Apple Crimson Snow",
|
|
|
133 |
},
|
134 |
"image_size": 224,
|
135 |
"initializer_range": 0.02,
|
|
|
136 |
"label2id": {
|
137 |
"Apple Braeburn": 0,
|
138 |
"Apple Crimson Snow": 1,
|
|
|
248 |
"Walnut": 111,
|
249 |
"Watermelon": 112
|
250 |
},
|
251 |
+
"layer_norm_eps": 1e-05,
|
252 |
+
"mlp_ratio": 4.0,
|
253 |
+
"model_type": "swin",
|
254 |
"num_channels": 3,
|
255 |
+
"num_heads": [
|
256 |
+
4,
|
257 |
+
8,
|
258 |
+
16,
|
259 |
+
32
|
260 |
+
],
|
261 |
+
"num_layers": 4,
|
262 |
+
"out_features": [
|
263 |
+
"stage4"
|
264 |
+
],
|
265 |
+
"out_indices": [
|
266 |
+
4
|
267 |
+
],
|
268 |
+
"patch_size": 4,
|
269 |
+
"path_norm": true,
|
270 |
"problem_type": "single_label_classification",
|
271 |
"qkv_bias": true,
|
272 |
+
"stage_names": [
|
273 |
+
"stem",
|
274 |
+
"stage1",
|
275 |
+
"stage2",
|
276 |
+
"stage3",
|
277 |
+
"stage4"
|
278 |
+
],
|
279 |
"torch_dtype": "float32",
|
280 |
+
"transformers_version": "4.34.1",
|
281 |
+
"use_absolute_embeddings": false,
|
282 |
+
"window_size": 7
|
283 |
}
|
preprocessor_config.json
CHANGED
@@ -3,17 +3,17 @@
|
|
3 |
"do_rescale": true,
|
4 |
"do_resize": true,
|
5 |
"image_mean": [
|
6 |
-
0.
|
7 |
-
0.
|
8 |
-
0.
|
9 |
],
|
10 |
"image_processor_type": "ViTImageProcessor",
|
11 |
"image_std": [
|
12 |
-
0.
|
13 |
-
0.
|
14 |
-
0.
|
15 |
],
|
16 |
-
"resample":
|
17 |
"rescale_factor": 0.00392156862745098,
|
18 |
"size": {
|
19 |
"height": 224,
|
|
|
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,
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:95fa2f1ee9f62cee1aadc409d83a4cfad8267505b44280055083a4e37cef9dd3
|
3 |
+
size 348055374
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4600
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:691c6973f34037a402ad7ce3180ccde794a88d50353c8961e9666a89aee7153d
|
3 |
size 4600
|