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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"input": {
|
| 3 |
+
"dtype": "float32",
|
| 4 |
+
"name": "pixel_values",
|
| 5 |
+
"shape": [
|
| 6 |
+
1,
|
| 7 |
+
3,
|
| 8 |
+
800,
|
| 9 |
+
800
|
| 10 |
+
]
|
| 11 |
+
},
|
| 12 |
+
"labels": [
|
| 13 |
+
"abstract",
|
| 14 |
+
"algorithm",
|
| 15 |
+
"aside_text",
|
| 16 |
+
"chart",
|
| 17 |
+
"content",
|
| 18 |
+
"formula",
|
| 19 |
+
"doc_title",
|
| 20 |
+
"figure_title",
|
| 21 |
+
"footer",
|
| 22 |
+
"footer",
|
| 23 |
+
"footnote",
|
| 24 |
+
"formula_number",
|
| 25 |
+
"header",
|
| 26 |
+
"header",
|
| 27 |
+
"image",
|
| 28 |
+
"formula",
|
| 29 |
+
"number",
|
| 30 |
+
"paragraph_title",
|
| 31 |
+
"reference",
|
| 32 |
+
"reference_content",
|
| 33 |
+
"seal",
|
| 34 |
+
"table",
|
| 35 |
+
"text",
|
| 36 |
+
"text",
|
| 37 |
+
"vision_footnote"
|
| 38 |
+
],
|
| 39 |
+
"minSdkVersion": "1.0.0",
|
| 40 |
+
"model": {
|
| 41 |
+
"architecture": "PPDocLayoutV3ForObjectDetection",
|
| 42 |
+
"id": "pp-doclayoutv3",
|
| 43 |
+
"modelType": "pp_doclayout_v3",
|
| 44 |
+
"parameterCount": 33175165,
|
| 45 |
+
"version": "1.0.2"
|
| 46 |
+
},
|
| 47 |
+
"outputs": [
|
| 48 |
+
{
|
| 49 |
+
"dtype": "float32",
|
| 50 |
+
"name": "logits",
|
| 51 |
+
"shape": [
|
| 52 |
+
1,
|
| 53 |
+
300,
|
| 54 |
+
25
|
| 55 |
+
]
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"dtype": "float32",
|
| 59 |
+
"name": "pred_boxes",
|
| 60 |
+
"shape": [
|
| 61 |
+
1,
|
| 62 |
+
300,
|
| 63 |
+
4
|
| 64 |
+
]
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"dtype": "float32",
|
| 68 |
+
"name": "order_logits",
|
| 69 |
+
"shape": [
|
| 70 |
+
1,
|
| 71 |
+
300,
|
| 72 |
+
300
|
| 73 |
+
]
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"dtype": "float32",
|
| 77 |
+
"name": "out_masks",
|
| 78 |
+
"shape": [
|
| 79 |
+
1,
|
| 80 |
+
300,
|
| 81 |
+
200,
|
| 82 |
+
200
|
| 83 |
+
]
|
| 84 |
+
}
|
| 85 |
+
],
|
| 86 |
+
"preprocessing": {
|
| 87 |
+
"doNormalize": true,
|
| 88 |
+
"doRescale": true,
|
| 89 |
+
"doResize": true,
|
| 90 |
+
"imageMean": [
|
| 91 |
+
0,
|
| 92 |
+
0,
|
| 93 |
+
0
|
| 94 |
+
],
|
| 95 |
+
"imageStd": [
|
| 96 |
+
1,
|
| 97 |
+
1,
|
| 98 |
+
1
|
| 99 |
+
],
|
| 100 |
+
"resample": 3,
|
| 101 |
+
"rescaleFactor": 0.00392156862745098,
|
| 102 |
+
"size": {
|
| 103 |
+
"height": 800,
|
| 104 |
+
"width": 800
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
"schemaVersion": 1,
|
| 108 |
+
"source": {
|
| 109 |
+
"files": {
|
| 110 |
+
"config.json": "4aeed1ded82e4d18a3801a2f771ff31648ba302d1e736cafb065d666b1d3d131",
|
| 111 |
+
"inference.yml": "aa6afd4938b83e97a14a9d7da39deecfc16ad0f8be103316fa578cc3b2a89f09",
|
| 112 |
+
"model.safetensors": "5ea422c6cc5fe759a47e1357c35639b58173508e025a3131cbe4b6ac59e2b85e",
|
| 113 |
+
"preprocessor_config.json": "3b9074dd30b642c406309e21f030b496a948a6baedb02dfb72d6d1b4ef03c47b"
|
| 114 |
+
},
|
| 115 |
+
"license": "Apache-2.0",
|
| 116 |
+
"name": "PaddlePaddle/PP-DocLayoutV3_safetensors",
|
| 117 |
+
"url": "https://huggingface.co/PaddlePaddle/PP-DocLayoutV3_safetensors"
|
| 118 |
+
},
|
| 119 |
+
"variantPriority": [
|
| 120 |
+
"fp16",
|
| 121 |
+
"fp32"
|
| 122 |
+
],
|
| 123 |
+
"variants": [
|
| 124 |
+
{
|
| 125 |
+
"backendCompatibility": [
|
| 126 |
+
"wasm",
|
| 127 |
+
"webgpu"
|
| 128 |
+
],
|
| 129 |
+
"bytes": 74279796,
|
| 130 |
+
"filename": "model-fp16.onnx",
|
| 131 |
+
"id": "fp16",
|
| 132 |
+
"opset": 18,
|
| 133 |
+
"precision": "fp16",
|
| 134 |
+
"sha256": "463ba56faa555baf84271b4002b33b0c5fcc50776fe4f39344235eccb72073f2",
|
| 135 |
+
"url": "https://chenmohan123.github.io/web-sdk-PP-DocLayoutV3/models/model-fp16.onnx",
|
| 136 |
+
"validation": {
|
| 137 |
+
"included": true,
|
| 138 |
+
"pass": true,
|
| 139 |
+
"report": "tools/model-pipeline/reports/1.0.2/variant-validation.json"
|
| 140 |
+
}
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"backendCompatibility": [
|
| 144 |
+
"wasm",
|
| 145 |
+
"webgpu"
|
| 146 |
+
],
|
| 147 |
+
"bytes": 142574928,
|
| 148 |
+
"filename": "model-fp32.onnx",
|
| 149 |
+
"id": "fp32",
|
| 150 |
+
"opset": 18,
|
| 151 |
+
"precision": "fp32",
|
| 152 |
+
"sha256": "476da6d3892bc6211ec90f53df1f68722626b3cf67af77d1c75bd0bd2ee8d269",
|
| 153 |
+
"url": "https://chenmohan123.github.io/web-sdk-PP-DocLayoutV3/models/model-fp32.onnx",
|
| 154 |
+
"validation": {
|
| 155 |
+
"included": true,
|
| 156 |
+
"pass": true,
|
| 157 |
+
"report": "tools/model-pipeline/reports/1.0.2/fp32-validation.json"
|
| 158 |
+
}
|
| 159 |
+
}
|
| 160 |
+
]
|
| 161 |
+
}
|
model-fp16.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:463ba56faa555baf84271b4002b33b0c5fcc50776fe4f39344235eccb72073f2
|
| 3 |
+
size 74279796
|
model-fp32.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:476da6d3892bc6211ec90f53df1f68722626b3cf67af77d1c75bd0bd2ee8d269
|
| 3 |
+
size 142574928
|