Upload folder using huggingface_hub
Browse files- config.json +7 -2
- image_converter.json +13 -12
- metadata.json +3 -3
- model.weights.h5 +2 -2
- preprocessor.json +13 -12
- task.json +20 -14
- task.weights.h5 +1 -1
config.json
CHANGED
@@ -9,7 +9,10 @@
|
|
9 |
384,
|
10 |
3
|
11 |
],
|
12 |
-
"patch_size":
|
|
|
|
|
|
|
13 |
"num_layers": 24,
|
14 |
"num_heads": 16,
|
15 |
"hidden_dim": 1024,
|
@@ -18,7 +21,9 @@
|
|
18 |
"attention_dropout": 0.0,
|
19 |
"layer_norm_epsilon": 1e-06,
|
20 |
"use_mha_bias": true,
|
21 |
-
"use_mlp_bias": true
|
|
|
|
|
22 |
},
|
23 |
"registered_name": "keras_hub>ViTBackbone"
|
24 |
}
|
|
|
9 |
384,
|
10 |
3
|
11 |
],
|
12 |
+
"patch_size": [
|
13 |
+
16,
|
14 |
+
16
|
15 |
+
],
|
16 |
"num_layers": 24,
|
17 |
"num_heads": 16,
|
18 |
"hidden_dim": 1024,
|
|
|
21 |
"attention_dropout": 0.0,
|
22 |
"layer_norm_epsilon": 1e-06,
|
23 |
"use_mha_bias": true,
|
24 |
+
"use_mlp_bias": true,
|
25 |
+
"use_class_token": true,
|
26 |
+
"use_patch_bias": true
|
27 |
},
|
28 |
"registered_name": "keras_hub>ViTBackbone"
|
29 |
}
|
image_converter.json
CHANGED
@@ -16,20 +16,21 @@
|
|
16 |
384,
|
17 |
384
|
18 |
],
|
19 |
-
"scale":
|
20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
"interpolation": "bilinear",
|
|
|
22 |
"crop_to_aspect_ratio": true,
|
23 |
-
"
|
24 |
-
|
25 |
-
0.5,
|
26 |
-
0.5
|
27 |
-
],
|
28 |
-
"norm_std": [
|
29 |
-
0.5,
|
30 |
-
0.5,
|
31 |
-
0.5
|
32 |
-
]
|
33 |
},
|
34 |
"registered_name": "keras_hub>ViTImageConverter"
|
35 |
}
|
|
|
16 |
384,
|
17 |
384
|
18 |
],
|
19 |
+
"scale": [
|
20 |
+
0.00784313725490196,
|
21 |
+
0.00784313725490196,
|
22 |
+
0.00784313725490196
|
23 |
+
],
|
24 |
+
"offset": [
|
25 |
+
-1.0,
|
26 |
+
-1.0,
|
27 |
+
-1.0
|
28 |
+
],
|
29 |
"interpolation": "bilinear",
|
30 |
+
"antialias": false,
|
31 |
"crop_to_aspect_ratio": true,
|
32 |
+
"pad_to_aspect_ratio": false,
|
33 |
+
"bounding_box_format": "yxyx"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
},
|
35 |
"registered_name": "keras_hub>ViTImageConverter"
|
36 |
}
|
metadata.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"keras_version": "3.
|
3 |
-
"keras_hub_version": "0.
|
4 |
"parameter_count": 303690752,
|
5 |
-
"date_saved": "
|
6 |
"tasks": [
|
7 |
"ImageClassifier"
|
8 |
]
|
|
|
1 |
{
|
2 |
+
"keras_version": "3.9.2",
|
3 |
+
"keras_hub_version": "0.21.0.dev0",
|
4 |
"parameter_count": 303690752,
|
5 |
+
"date_saved": "2025-05-16@21:49:06",
|
6 |
"tasks": [
|
7 |
"ImageClassifier"
|
8 |
]
|
model.weights.h5
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:485e83e80d77ef8faafd5718c6620d23cd75fa091a9dea1b2488b981226591dc
|
3 |
+
size 1215629128
|
preprocessor.json
CHANGED
@@ -30,20 +30,21 @@
|
|
30 |
384,
|
31 |
384
|
32 |
],
|
33 |
-
"scale":
|
34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
"interpolation": "bilinear",
|
|
|
36 |
"crop_to_aspect_ratio": true,
|
37 |
-
"
|
38 |
-
|
39 |
-
0.5,
|
40 |
-
0.5
|
41 |
-
],
|
42 |
-
"norm_std": [
|
43 |
-
0.5,
|
44 |
-
0.5,
|
45 |
-
0.5
|
46 |
-
]
|
47 |
},
|
48 |
"registered_name": "keras_hub>ViTImageConverter"
|
49 |
},
|
|
|
30 |
384,
|
31 |
384
|
32 |
],
|
33 |
+
"scale": [
|
34 |
+
0.00784313725490196,
|
35 |
+
0.00784313725490196,
|
36 |
+
0.00784313725490196
|
37 |
+
],
|
38 |
+
"offset": [
|
39 |
+
-1.0,
|
40 |
+
-1.0,
|
41 |
+
-1.0
|
42 |
+
],
|
43 |
"interpolation": "bilinear",
|
44 |
+
"antialias": false,
|
45 |
"crop_to_aspect_ratio": true,
|
46 |
+
"pad_to_aspect_ratio": false,
|
47 |
+
"bounding_box_format": "yxyx"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
},
|
49 |
"registered_name": "keras_hub>ViTImageConverter"
|
50 |
},
|
task.json
CHANGED
@@ -13,7 +13,10 @@
|
|
13 |
384,
|
14 |
3
|
15 |
],
|
16 |
-
"patch_size":
|
|
|
|
|
|
|
17 |
"num_layers": 24,
|
18 |
"num_heads": 16,
|
19 |
"hidden_dim": 1024,
|
@@ -22,7 +25,9 @@
|
|
22 |
"attention_dropout": 0.0,
|
23 |
"layer_norm_epsilon": 1e-06,
|
24 |
"use_mha_bias": true,
|
25 |
-
"use_mlp_bias": true
|
|
|
|
|
26 |
},
|
27 |
"registered_name": "keras_hub>ViTBackbone"
|
28 |
},
|
@@ -58,20 +63,21 @@
|
|
58 |
384,
|
59 |
384
|
60 |
],
|
61 |
-
"scale":
|
62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
"interpolation": "bilinear",
|
|
|
64 |
"crop_to_aspect_ratio": true,
|
65 |
-
"
|
66 |
-
|
67 |
-
0.5,
|
68 |
-
0.5
|
69 |
-
],
|
70 |
-
"norm_std": [
|
71 |
-
0.5,
|
72 |
-
0.5,
|
73 |
-
0.5
|
74 |
-
]
|
75 |
},
|
76 |
"registered_name": "keras_hub>ViTImageConverter"
|
77 |
},
|
|
|
13 |
384,
|
14 |
3
|
15 |
],
|
16 |
+
"patch_size": [
|
17 |
+
16,
|
18 |
+
16
|
19 |
+
],
|
20 |
"num_layers": 24,
|
21 |
"num_heads": 16,
|
22 |
"hidden_dim": 1024,
|
|
|
25 |
"attention_dropout": 0.0,
|
26 |
"layer_norm_epsilon": 1e-06,
|
27 |
"use_mha_bias": true,
|
28 |
+
"use_mlp_bias": true,
|
29 |
+
"use_class_token": true,
|
30 |
+
"use_patch_bias": true
|
31 |
},
|
32 |
"registered_name": "keras_hub>ViTBackbone"
|
33 |
},
|
|
|
63 |
384,
|
64 |
384
|
65 |
],
|
66 |
+
"scale": [
|
67 |
+
0.00784313725490196,
|
68 |
+
0.00784313725490196,
|
69 |
+
0.00784313725490196
|
70 |
+
],
|
71 |
+
"offset": [
|
72 |
+
-1.0,
|
73 |
+
-1.0,
|
74 |
+
-1.0
|
75 |
+
],
|
76 |
"interpolation": "bilinear",
|
77 |
+
"antialias": false,
|
78 |
"crop_to_aspect_ratio": true,
|
79 |
+
"pad_to_aspect_ratio": false,
|
80 |
+
"bounding_box_format": "yxyx"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
},
|
82 |
"registered_name": "keras_hub>ViTImageConverter"
|
83 |
},
|
task.weights.h5
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1219745280
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6c89c3d9398476389a3e99799d80b1c69eb50a8b3c21475599962a05fa0ed1f0
|
3 |
size 1219745280
|