PedroSampaio
commited on
Commit
•
2c5ddb0
1
Parent(s):
5a41c19
Training in progress, epoch 1
Browse files- config.json +11 -40
- preprocessor_config.json +7 -7
- pytorch_model.bin +2 -2
- training_args.bin +1 -1
config.json
CHANGED
@@ -1,21 +1,13 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.0,
|
7 |
-
"
|
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":
|
19 |
"id2label": {
|
20 |
"0": "Apple Braeburn",
|
21 |
"1": "Apple Crimson Snow",
|
@@ -133,6 +125,7 @@
|
|
133 |
},
|
134 |
"image_size": 224,
|
135 |
"initializer_range": 0.02,
|
|
|
136 |
"label2id": {
|
137 |
"Apple Braeburn": 0,
|
138 |
"Apple Crimson Snow": 1,
|
@@ -248,36 +241,14 @@
|
|
248 |
"Walnut": 111,
|
249 |
"Watermelon": 112
|
250 |
},
|
251 |
-
"layer_norm_eps": 1e-
|
252 |
-
"
|
253 |
-
"
|
254 |
"num_channels": 3,
|
255 |
-
"
|
256 |
-
|
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 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
3 |
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
"hidden_act": "gelu",
|
9 |
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
"0": "Apple Braeburn",
|
13 |
"1": "Apple Crimson Snow",
|
|
|
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 |
"Walnut": 111,
|
242 |
"Watermelon": 112
|
243 |
},
|
244 |
+
"layer_norm_eps": 1e-12,
|
245 |
+
"model_type": "vit",
|
246 |
+
"num_attention_heads": 12,
|
247 |
"num_channels": 3,
|
248 |
+
"num_hidden_layers": 12,
|
249 |
+
"patch_size": 16,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
250 |
"problem_type": "single_label_classification",
|
251 |
"qkv_bias": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
252 |
"torch_dtype": "float32",
|
253 |
+
"transformers_version": "4.34.1"
|
|
|
|
|
254 |
}
|
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.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,
|
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:1cec28c9b79f14b0e9700a09a1171cb1dba6e11e9fb169c658fc03f9db8762c8
|
3 |
+
size 343610602
|
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:45b502d8a8729f313ae9c091160349d19ea2098b0828cbcb8d6a9f9d44d1ca9d
|
3 |
size 4600
|