Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- check_dataset_result.json +5 -0
- config.json +111 -0
- inference.json +0 -0
- inference.pdiparams +3 -0
- inference.yml +53 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
inference.pdiparams filter=lfs diff=lfs merge=lfs -text
|
check_dataset_result.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"done_flag": false,
|
3 |
+
"err_type": "<class 'AssertionError'>",
|
4 |
+
"err_msg": ""
|
5 |
+
}
|
config.json
ADDED
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"Global": {
|
3 |
+
"model_name": "PP-OCRv5_server_det"
|
4 |
+
},
|
5 |
+
"Hpi": {
|
6 |
+
"backend_configs": {
|
7 |
+
"paddle_infer": {
|
8 |
+
"trt_dynamic_shapes": {
|
9 |
+
"x": [
|
10 |
+
[
|
11 |
+
1,
|
12 |
+
3,
|
13 |
+
32,
|
14 |
+
32
|
15 |
+
],
|
16 |
+
[
|
17 |
+
1,
|
18 |
+
3,
|
19 |
+
736,
|
20 |
+
736
|
21 |
+
],
|
22 |
+
[
|
23 |
+
1,
|
24 |
+
3,
|
25 |
+
4000,
|
26 |
+
4000
|
27 |
+
]
|
28 |
+
]
|
29 |
+
}
|
30 |
+
},
|
31 |
+
"tensorrt": {
|
32 |
+
"dynamic_shapes": {
|
33 |
+
"x": [
|
34 |
+
[
|
35 |
+
1,
|
36 |
+
3,
|
37 |
+
32,
|
38 |
+
32
|
39 |
+
],
|
40 |
+
[
|
41 |
+
1,
|
42 |
+
3,
|
43 |
+
736,
|
44 |
+
736
|
45 |
+
],
|
46 |
+
[
|
47 |
+
1,
|
48 |
+
3,
|
49 |
+
4000,
|
50 |
+
4000
|
51 |
+
]
|
52 |
+
]
|
53 |
+
}
|
54 |
+
}
|
55 |
+
}
|
56 |
+
},
|
57 |
+
"PreProcess": {
|
58 |
+
"transform_ops": [
|
59 |
+
{
|
60 |
+
"DecodeImage": {
|
61 |
+
"channel_first": false,
|
62 |
+
"img_mode": "BGR"
|
63 |
+
}
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"DetLabelEncode": null
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"DetResizeForTest": {
|
70 |
+
"resize_long": 960
|
71 |
+
}
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"NormalizeImage": {
|
75 |
+
"mean": [
|
76 |
+
0.485,
|
77 |
+
0.456,
|
78 |
+
0.406
|
79 |
+
],
|
80 |
+
"order": "hwc",
|
81 |
+
"scale": "1./255.",
|
82 |
+
"std": [
|
83 |
+
0.229,
|
84 |
+
0.224,
|
85 |
+
0.225
|
86 |
+
]
|
87 |
+
}
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"ToCHWImage": null
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"KeepKeys": {
|
94 |
+
"keep_keys": [
|
95 |
+
"image",
|
96 |
+
"shape",
|
97 |
+
"polys",
|
98 |
+
"ignore_tags"
|
99 |
+
]
|
100 |
+
}
|
101 |
+
}
|
102 |
+
]
|
103 |
+
},
|
104 |
+
"PostProcess": {
|
105 |
+
"name": "DBPostProcess",
|
106 |
+
"thresh": 0.3,
|
107 |
+
"box_thresh": 0.6,
|
108 |
+
"max_candidates": 1000,
|
109 |
+
"unclip_ratio": 1.5
|
110 |
+
}
|
111 |
+
}
|
inference.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
inference.pdiparams
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:183146fe9d9910352f68482f623bcbbb9fa7b9e8fa1463b9ad288cef00524d2d
|
3 |
+
size 87932887
|
inference.yml
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Global:
|
2 |
+
model_name: PP-OCRv5_server_det
|
3 |
+
Hpi:
|
4 |
+
backend_configs:
|
5 |
+
paddle_infer:
|
6 |
+
trt_dynamic_shapes: &id001
|
7 |
+
x:
|
8 |
+
- - 1
|
9 |
+
- 3
|
10 |
+
- 32
|
11 |
+
- 32
|
12 |
+
- - 1
|
13 |
+
- 3
|
14 |
+
- 736
|
15 |
+
- 736
|
16 |
+
- - 1
|
17 |
+
- 3
|
18 |
+
- 4000
|
19 |
+
- 4000
|
20 |
+
tensorrt:
|
21 |
+
dynamic_shapes: *id001
|
22 |
+
PreProcess:
|
23 |
+
transform_ops:
|
24 |
+
- DecodeImage:
|
25 |
+
channel_first: false
|
26 |
+
img_mode: BGR
|
27 |
+
- DetLabelEncode: null
|
28 |
+
- DetResizeForTest:
|
29 |
+
resize_long: 960
|
30 |
+
- NormalizeImage:
|
31 |
+
mean:
|
32 |
+
- 0.485
|
33 |
+
- 0.456
|
34 |
+
- 0.406
|
35 |
+
order: hwc
|
36 |
+
scale: 1./255.
|
37 |
+
std:
|
38 |
+
- 0.229
|
39 |
+
- 0.224
|
40 |
+
- 0.225
|
41 |
+
- ToCHWImage: null
|
42 |
+
- KeepKeys:
|
43 |
+
keep_keys:
|
44 |
+
- image
|
45 |
+
- shape
|
46 |
+
- polys
|
47 |
+
- ignore_tags
|
48 |
+
PostProcess:
|
49 |
+
name: DBPostProcess
|
50 |
+
thresh: 0.3
|
51 |
+
box_thresh: 0.6
|
52 |
+
max_candidates: 1000
|
53 |
+
unclip_ratio: 1.5
|