Add model export
Browse files- config.json +17 -15
- model.safetensors +2 -2
- preprocessor_config.json +1 -1
config.json
CHANGED
|
@@ -1,23 +1,21 @@
|
|
| 1 |
{
|
| 2 |
"architectures": [
|
| 3 |
-
"
|
| 4 |
],
|
| 5 |
"depths": [
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
],
|
| 11 |
-
"
|
| 12 |
-
"downsample_in_first_stage": false,
|
| 13 |
"dtype": "float32",
|
| 14 |
-
"
|
| 15 |
-
"hidden_act": "relu",
|
| 16 |
"hidden_sizes": [
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
],
|
| 22 |
"id2label": {
|
| 23 |
"0": "pink primrose",
|
|
@@ -123,6 +121,8 @@
|
|
| 123 |
"100": "trumpet creeper",
|
| 124 |
"101": "blackberry lily"
|
| 125 |
},
|
|
|
|
|
|
|
| 126 |
"label2id": {
|
| 127 |
"alpine sea holly": 34,
|
| 128 |
"anthurium": 79,
|
|
@@ -227,15 +227,17 @@
|
|
| 227 |
"windflower": 68,
|
| 228 |
"yellow iris": 14
|
| 229 |
},
|
| 230 |
-
"
|
| 231 |
-
"model_type": "
|
| 232 |
"num_channels": 3,
|
|
|
|
| 233 |
"out_features": [
|
| 234 |
"stage4"
|
| 235 |
],
|
| 236 |
"out_indices": [
|
| 237 |
4
|
| 238 |
],
|
|
|
|
| 239 |
"stage_names": [
|
| 240 |
"stem",
|
| 241 |
"stage1",
|
|
|
|
| 1 |
{
|
| 2 |
"architectures": [
|
| 3 |
+
"ConvNextV2ForImageClassification"
|
| 4 |
],
|
| 5 |
"depths": [
|
| 6 |
+
3,
|
| 7 |
+
3,
|
| 8 |
+
9,
|
| 9 |
+
3
|
| 10 |
],
|
| 11 |
+
"drop_path_rate": 0.0,
|
|
|
|
| 12 |
"dtype": "float32",
|
| 13 |
+
"hidden_act": "gelu",
|
|
|
|
| 14 |
"hidden_sizes": [
|
| 15 |
+
96,
|
| 16 |
+
192,
|
| 17 |
+
384,
|
| 18 |
+
768
|
| 19 |
],
|
| 20 |
"id2label": {
|
| 21 |
"0": "pink primrose",
|
|
|
|
| 121 |
"100": "trumpet creeper",
|
| 122 |
"101": "blackberry lily"
|
| 123 |
},
|
| 124 |
+
"image_size": 224,
|
| 125 |
+
"initializer_range": 0.02,
|
| 126 |
"label2id": {
|
| 127 |
"alpine sea holly": 34,
|
| 128 |
"anthurium": 79,
|
|
|
|
| 227 |
"windflower": 68,
|
| 228 |
"yellow iris": 14
|
| 229 |
},
|
| 230 |
+
"layer_norm_eps": 1e-12,
|
| 231 |
+
"model_type": "convnextv2",
|
| 232 |
"num_channels": 3,
|
| 233 |
+
"num_stages": 4,
|
| 234 |
"out_features": [
|
| 235 |
"stage4"
|
| 236 |
],
|
| 237 |
"out_indices": [
|
| 238 |
4
|
| 239 |
],
|
| 240 |
+
"patch_size": 4,
|
| 241 |
"stage_names": [
|
| 242 |
"stem",
|
| 243 |
"stage1",
|
model.safetensors
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:38f33458def3491aee78dca19d9a08c622ce5a9c94e5c382d6f0a476f3e327f9
|
| 3 |
+
size 111803464
|
preprocessor_config.json
CHANGED
|
@@ -17,6 +17,6 @@
|
|
| 17 |
"resample": 3,
|
| 18 |
"rescale_factor": 0.00392156862745098,
|
| 19 |
"size": {
|
| 20 |
-
"shortest_edge":
|
| 21 |
}
|
| 22 |
}
|
|
|
|
| 17 |
"resample": 3,
|
| 18 |
"rescale_factor": 0.00392156862745098,
|
| 19 |
"size": {
|
| 20 |
+
"shortest_edge": 384
|
| 21 |
}
|
| 22 |
}
|