Upload folder using huggingface_hub
Browse files- config.json +7 -2
- image_converter.json +13 -12
- metadata.json +3 -3
- model.weights.h5 +1 -1
- 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": 12,
|
| 14 |
"num_heads": 12,
|
| 15 |
"hidden_dim": 768,
|
|
@@ -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 |
+
32,
|
| 14 |
+
32
|
| 15 |
+
],
|
| 16 |
"num_layers": 12,
|
| 17 |
"num_heads": 12,
|
| 18 |
"hidden_dim": 768,
|
|
|
|
| 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": 87528192,
|
| 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": 87528192,
|
| 5 |
+
"date_saved": "2025-05-16@21:40:32",
|
| 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 350558128
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c03c0f023d9de1523e4caffa27f664d04d10bc5a9d681b4e9ad6b29549eb8800
|
| 3 |
size 350558128
|
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": 12,
|
| 18 |
"num_heads": 12,
|
| 19 |
"hidden_dim": 768,
|
|
@@ -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 |
+
32,
|
| 18 |
+
32
|
| 19 |
+
],
|
| 20 |
"num_layers": 12,
|
| 21 |
"num_heads": 12,
|
| 22 |
"hidden_dim": 768,
|
|
|
|
| 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 353650296
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1a059a01b71ea1706096db2e976e4708a4304880cd0897ea27dfc8239b0963f2
|
| 3 |
size 353650296
|