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-large-224-hf",
|
3 |
+
"architectures": [
|
4 |
+
"HieraModel"
|
5 |
+
],
|
6 |
+
"decoder_depth": null,
|
7 |
+
"decoder_hidden_size": null,
|
8 |
+
"decoder_num_heads": null,
|
9 |
+
"depths": [
|
10 |
+
2,
|
11 |
+
6,
|
12 |
+
36,
|
13 |
+
4
|
14 |
+
],
|
15 |
+
"drop_path_rate": 0.0,
|
16 |
+
"embed_dim": 144,
|
17 |
+
"embed_dim_multiplier": 2.0,
|
18 |
+
"hidden_act": "gelu",
|
19 |
+
"hidden_size": 1152,
|
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 |
+
2,
|
45 |
+
4,
|
46 |
+
8,
|
47 |
+
16
|
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:7d3aa141d8c5fbe976a23b0aa2f1b704d3cb95f240806b78b65df31a5c88e6c8
|
3 |
+
size 851783058
|
onnx/model_bnb4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:87fd3ea1b383c1ec0e174a333ef820d4fb0a96265208c4a764f2f7aa8356660c
|
3 |
+
size 123902145
|
onnx/model_fp16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5bb1ae256854e7f0952c57a44f27f860b928c9dcb7968d9e15abd3f53bb7c59d
|
3 |
+
size 426613240
|
onnx/model_int8.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:33006908228d3bbab9bb3b1c651a0cfe8d48a94d97fa730fb8b033b3e52e39b3
|
3 |
+
size 217955396
|
onnx/model_q4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5025a66998789486bb9611dd20bbb60b7c4d66320d9f85ee642760047c0c2840
|
3 |
+
size 137169945
|
onnx/model_q4f16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:37be1627b8a721d30aca1c6c9c60f5a8f80c47985a9624e6525c91765916ade7
|
3 |
+
size 122274041
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0ab958f77600a6c03e9e49edab916925ed2b1d61607aaa7b4e820840e9456e9b
|
3 |
+
size 217955396
|
onnx/model_uint8.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0ab958f77600a6c03e9e49edab916925ed2b1d61607aaa7b4e820840e9456e9b
|
3 |
+
size 217955396
|
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 |
+
}
|