Commit
·
f143013
1
Parent(s):
1a1a138
Upload ViTForImageClassification
Browse files- config.json +13 -20
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,22 +1,13 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
-
"
|
7 |
-
|
8 |
-
3,
|
9 |
-
9,
|
10 |
-
3
|
11 |
-
],
|
12 |
-
"drop_path_rate": 0.0,
|
13 |
"hidden_act": "gelu",
|
14 |
-
"
|
15 |
-
|
16 |
-
192,
|
17 |
-
384,
|
18 |
-
768
|
19 |
-
],
|
20 |
"id2label": {
|
21 |
"0": "CONTAINER",
|
22 |
"1": "CONTROL SHOT",
|
@@ -29,6 +20,7 @@
|
|
29 |
},
|
30 |
"image_size": 224,
|
31 |
"initializer_range": 0.02,
|
|
|
32 |
"label2id": {
|
33 |
"CONTAINER": 0,
|
34 |
"CONTROL SHOT": 1,
|
@@ -40,12 +32,13 @@
|
|
40 |
"SCROLL": 7
|
41 |
},
|
42 |
"layer_norm_eps": 1e-12,
|
43 |
-
"
|
44 |
-
"
|
45 |
"num_channels": 3,
|
46 |
-
"
|
47 |
-
"patch_size":
|
48 |
"problem_type": "single_label_classification",
|
|
|
49 |
"torch_dtype": "float32",
|
50 |
-
"transformers_version": "4.
|
51 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224",
|
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": "CONTAINER",
|
13 |
"1": "CONTROL SHOT",
|
|
|
20 |
},
|
21 |
"image_size": 224,
|
22 |
"initializer_range": 0.02,
|
23 |
+
"intermediate_size": 3072,
|
24 |
"label2id": {
|
25 |
"CONTAINER": 0,
|
26 |
"CONTROL SHOT": 1,
|
|
|
32 |
"SCROLL": 7
|
33 |
},
|
34 |
"layer_norm_eps": 1e-12,
|
35 |
+
"model_type": "vit",
|
36 |
+
"num_attention_heads": 12,
|
37 |
"num_channels": 3,
|
38 |
+
"num_hidden_layers": 12,
|
39 |
+
"patch_size": 16,
|
40 |
"problem_type": "single_label_classification",
|
41 |
+
"qkv_bias": true,
|
42 |
"torch_dtype": "float32",
|
43 |
+
"transformers_version": "4.25.1"
|
44 |
}
|
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:11b653cc425c41b7fff0f45080db2a9811ef6d317527d096637525c70bcf2f99
|
3 |
+
size 343287149
|