Upload folder using huggingface_hub
Browse files- config.json +82 -0
- onnx/model.onnx +3 -0
- onnx/model_bnb4.onnx +3 -0
- onnx/model_fp16.onnx +3 -0
- onnx/model_int8.onnx +3 -0
- onnx/model_q4.onnx +3 -0
- onnx/model_q4f16.onnx +3 -0
- onnx/model_quantized.onnx +3 -0
- onnx/model_uint8.onnx +3 -0
- preprocessor_config.json +27 -0
- quantize_config.json +17 -0
config.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/hiera-small-224-hf",
|
3 |
+
"architectures": [
|
4 |
+
"HieraModel"
|
5 |
+
],
|
6 |
+
"decoder_depth": null,
|
7 |
+
"decoder_hidden_size": null,
|
8 |
+
"decoder_num_heads": null,
|
9 |
+
"depths": [
|
10 |
+
1,
|
11 |
+
2,
|
12 |
+
11,
|
13 |
+
2
|
14 |
+
],
|
15 |
+
"drop_path_rate": 0.0,
|
16 |
+
"embed_dim": 96,
|
17 |
+
"embed_dim_multiplier": 2.0,
|
18 |
+
"hidden_act": "gelu",
|
19 |
+
"hidden_size": 768,
|
20 |
+
"image_size": [
|
21 |
+
224,
|
22 |
+
224
|
23 |
+
],
|
24 |
+
"initializer_range": 0.02,
|
25 |
+
"layer_norm_eps": 1e-06,
|
26 |
+
"layer_norm_init": 1.0,
|
27 |
+
"mask_ratio": 0.6,
|
28 |
+
"masked_unit_attention": [
|
29 |
+
true,
|
30 |
+
true,
|
31 |
+
false,
|
32 |
+
false
|
33 |
+
],
|
34 |
+
"masked_unit_size": [
|
35 |
+
8,
|
36 |
+
8
|
37 |
+
],
|
38 |
+
"mlp_ratio": 4.0,
|
39 |
+
"model_type": "hiera",
|
40 |
+
"norm_pix_loss": true,
|
41 |
+
"normalize_pixel_loss": true,
|
42 |
+
"num_channels": 3,
|
43 |
+
"num_heads": [
|
44 |
+
1,
|
45 |
+
2,
|
46 |
+
4,
|
47 |
+
8
|
48 |
+
],
|
49 |
+
"num_layers": 4,
|
50 |
+
"num_query_pool": 3,
|
51 |
+
"out_features": [
|
52 |
+
"stage4"
|
53 |
+
],
|
54 |
+
"out_indices": [
|
55 |
+
4
|
56 |
+
],
|
57 |
+
"patch_padding": [
|
58 |
+
3,
|
59 |
+
3
|
60 |
+
],
|
61 |
+
"patch_size": [
|
62 |
+
7,
|
63 |
+
7
|
64 |
+
],
|
65 |
+
"patch_stride": [
|
66 |
+
4,
|
67 |
+
4
|
68 |
+
],
|
69 |
+
"query_stride": [
|
70 |
+
2,
|
71 |
+
2
|
72 |
+
],
|
73 |
+
"stage_names": [
|
74 |
+
"stem",
|
75 |
+
"stage1",
|
76 |
+
"stage2",
|
77 |
+
"stage3",
|
78 |
+
"stage4"
|
79 |
+
],
|
80 |
+
"transformers_version": "4.43.4",
|
81 |
+
"use_separate_position_embedding": false
|
82 |
+
}
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0669b406bf370ebde3b19b04015bcfd3b8e120fa765e51133ad391e57f1094a5
|
3 |
+
size 137447827
|
onnx/model_bnb4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:27825e8ea53de1ff6c1c233a5750844ff470cdfef5ad68673f23fce0329ec60c
|
3 |
+
size 21129289
|
onnx/model_fp16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5e63a28050341e535b78c5d5aa511e3acc328deb5a8fbbdc10097b3a9c765712
|
3 |
+
size 68972695
|
onnx/model_int8.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ebf60eb6dc61516021f63744f846656285e9fda7acb002ab34a7e38d3d7eb5d3
|
3 |
+
size 36259652
|
onnx/model_q4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:86e8cc332d6d49ba9abef63f559001f32167698437b3ea8c679a053ad12e665a
|
3 |
+
size 23243883
|
onnx/model_q4f16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:548433eb3a8978471bc0b030d394e4f66731974d36869ee088cd39f874fd802a
|
3 |
+
size 20336001
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:19ab060d6b3c60be6709daa5e5b0fb584742237b85768d32d4449ff353ee590a
|
3 |
+
size 36259652
|
onnx/model_uint8.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:19ab060d6b3c60be6709daa5e5b0fb584742237b85768d32d4449ff353ee590a
|
3 |
+
size 36259652
|
preprocessor_config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": {
|
3 |
+
"height": 224,
|
4 |
+
"width": 224
|
5 |
+
},
|
6 |
+
"do_center_crop": true,
|
7 |
+
"do_convert_rgb": true,
|
8 |
+
"do_normalize": true,
|
9 |
+
"do_rescale": true,
|
10 |
+
"do_resize": true,
|
11 |
+
"image_mean": [
|
12 |
+
0.485,
|
13 |
+
0.456,
|
14 |
+
0.406
|
15 |
+
],
|
16 |
+
"image_processor_type": "BitImageProcessor",
|
17 |
+
"image_std": [
|
18 |
+
0.229,
|
19 |
+
0.224,
|
20 |
+
0.225
|
21 |
+
],
|
22 |
+
"resample": 3,
|
23 |
+
"rescale_factor": 0.00392156862745098,
|
24 |
+
"size": {
|
25 |
+
"shortest_edge": 256
|
26 |
+
}
|
27 |
+
}
|
quantize_config.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"modes": [
|
3 |
+
"fp16",
|
4 |
+
"q8",
|
5 |
+
"int8",
|
6 |
+
"uint8",
|
7 |
+
"q4",
|
8 |
+
"q4f16",
|
9 |
+
"bnb4"
|
10 |
+
],
|
11 |
+
"per_channel": true,
|
12 |
+
"reduce_range": true,
|
13 |
+
"block_size": null,
|
14 |
+
"is_symmetric": true,
|
15 |
+
"accuracy_level": null,
|
16 |
+
"quant_type": 1
|
17 |
+
}
|